Bug #1468
closedusing referenced party causes role to be added
0%
Description
When creating a contact the 'role' attribute shows up incorrectly (because
contact doesn't have a role in EML2). To reproduce, do the follwoing:
1) Start morpho and log in
2) New data package..., fill in title, skip keywords
3) On creator page, add a creator with name "User One"
4) Go to contact page, add contact, choose the "User One" from the reference
list, hit OK
5) Click "Edit" for "User One" on the contact page. The 'Role' combobox will
now appear incorrectly, allowing you to set a role for the contact (actually, it
is now required, which is definitely wrong) -- fill in the role and click ok
6) Go through the rest of the optional wizard screens, adding nothing, till you
get to the end and finish, then Save the document. The resulting XML document
is invalid because of the spurious role field. I will attach the invalid XML
that is produced.
Files