Skip to content

Regex field formats prevent batch uploads with multiple attachments per record #8097

@bronwyncombs

Description

@bronwyncombs

Describe the bug
A clear and concise description of what the bug is.

A regex field format on catalogNumber, for example, prevents batch attachment uploads from accepting file names where multiple attachments belong to one record. Users are told to add an underscore to file names to differentiate attachments for a given record, but modifying the file name in such a way causes an "Incorrectly formatted" message in batch attachment uploads.

To Reproduce
Steps to reproduce the behavior:

  1. Create a regex catalogNumber format
  2. Create and save a record with this format
  3. On your device, name one file with the catalogNumber and one with something like 'catalogNumber'_'value'
  4. Go to Attachments > Import
  5. Choose CO/CatNum path and add the files
  6. See error

Expected behavior
A clear and concise description of what you expected to happen.

Batch Attachment uploader should accept the file names with an underscore and allow uploading multiple attachments to one record with a regex field format.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Please fill out the following information manually:

  • OS: mac
  • Browser: Chrome
  • Specify 7 Version: v7.12.0.5
  • Database Name: demo (localhost)
  • Collection name: Geology

Reported By
Vasileios via the speciforum

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - App ResourcesIssues that are related to app resources2 - AttachmentsIssues that are related to attachments

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions