You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description:
The shortName field is not being serialized in the EML211 model function serialize. This field should be included in the basicText array to ensure it is properly serialized. This issue prevents the generation of a default short name on create.
Location in Code:
The issue is located in the EML211 model function serialize in the metacatui/src/js/models/metadata/eml211/EML211.js file.
Expected Behavior:
The shortName field should be serialized along with other basic text fields.
Steps to Reproduce
Create an instance of the EML211 model.
Set the shortName attribute.
Call the serialize function.
Observe that the shortName field is not included in the serialized output.
Suggested Fix
Ensure that the shortName field is included in the basicText array in the serialize function.
Additional Context
This issue affects the proper serialization of the shortName field in EML 2.1.1 documents, which may lead to incomplete metadata representation. This prevents the generation of a default short name on create.
The text was updated successfully, but these errors were encountered:
Bug Description:
The
shortName
field is not being serialized in theEML211
model functionserialize
. This field should be included in thebasicText
array to ensure it is properly serialized. This issue prevents the generation of a default short name on create.Location in Code:
The issue is located in the
EML211
model functionserialize
in themetacatui/src/js/models/metadata/eml211/EML211.js
file.Current Code:
metacatui/src/js/models/metadata/eml211/EML211.js
Line 779 in f18ac1b
Expected Behavior:
The
shortName
field should be serialized along with other basic text fields.Steps to Reproduce
EML211
model.shortName
attribute.serialize
function.shortName
field is not included in the serialized output.Suggested Fix
Ensure that the
shortName
field is included in thebasicText
array in theserialize
function.Additional Context
This issue affects the proper serialization of the
shortName
field in EML 2.1.1 documents, which may lead to incomplete metadata representation. This prevents the generation of a default short name on create.The text was updated successfully, but these errors were encountered: