Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign ember record identifiers ("id") based on UUID's #481

Closed
2 tasks done
hmaier-fws opened this issue Jun 13, 2022 · 1 comment · Fixed by #690
Closed
2 tasks done

Assign ember record identifiers ("id") based on UUID's #481

hmaier-fws opened this issue Jun 13, 2022 · 1 comment · Fixed by #690
Assignees

Comments

@hmaier-fws
Copy link
Contributor

hmaier-fws commented Jun 13, 2022

Modify how the internal metadata, contact and dictionary record identifiers ("id") are assigned.

Metadata, contact and dictionary records created by mdEditor have associated unique identifiers (UUID) assigned to each record at the time of creation ("metadataIdentifier", "contactID", "dictionaryID") - There are always associated with a record (mdEditor JSON and mdJSON.

A short (8 character) internal "mdEditor identifer" ("id") is also assigned to each record for use in managing the Ember datastore and is displayed in the browser as the record endpoint. Only included in the mdEditor JSON.

  • Modify the record creation routine to use the first eight characters of the appropriate "metadataIdentifier", "contactID" or "dictionaryID as the internal ember identifier ("id").
  • Apply the above when creating a new record from within the editor or when importing an existing record from a mdJSON file.

See: #480

@hmaier-fws hmaier-fws self-assigned this Jun 13, 2022
@hmaier-fws hmaier-fws removed their assignment Aug 11, 2022
@hmaier-fws
Copy link
Contributor Author

Apparently the id's were once the full uuid. See: #272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants