Skip to content

"Copy existing view definition" does not show the Form Definition name defined by the user #5168

@lexiclevenger

Description

@lexiclevenger

Describe the bug
If a Form Definition is copied from default forms, the XML editor uses the name of the default forms instead of the name defined by the user. Then, when creating a new View Definition by copying an existing one, the dialog refers to the Form Definition name from the XML instead of the one defined by the user, making it difficult to identify the one you want to copy from.

To Reproduce
Steps to reproduce the behavior:

  1. Go to App resources
  2. Create a new Form Definition under Global Resources and copy one of the defaults (for example, "Fish"). Name it something other than the name of the one you copied
  3. Switch to the XML editor and see that the "name=" value is the name of the default Form Definition you copied (for example, "Fish Views"

Expected behavior
When a Form Definition is created by copying a default forms, the name in the XML editor should be replaced by the one defined by the user.

Screenshots

Screen.Recording.2024-07-31.at.4.45.14.PM.mov
Screenshot 2024-07-31 at 4 47 51 PM

Specify 7 System Information - 2024-07-31T21_49_58.654Z.txt

Please, also fill out the following information manually:

  • OS: Mac
  • Browser: Chrome
  • Specify 7 Version: 7.9.4 through edge
  • Database Name: fwri_1_9_24
  • Collection name: Ichthyology
  • User Name: spadmin

Metadata

Metadata

Assignees

Labels

1 - BugIncorrect behavior of the product2 - App ResourcesIssues that are related to app resources

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions