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
Describe the solution you'd like
We add a created attribute to objects when we save them for the first time in the objectApi. Remove the non working code above. This information will need to be added/shown to the inspector as well when viewing information related to a domainObject.
Describe alternatives you've considered
Currently, as mentioned above, we try to save it to the CouchObjectProvider metadata, but it's lost immediately.
Additional context
We have persisted and modified timestamps currently on domainObjects and we'll be adding createdBy and modifiedBy attribution as well, this seems like something that we should also have.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
No we have created timestamp in: https://github.com/nasa/openmct/blob/master/src/plugins/persistence/couch/CouchObjectProvider.js#L657 but it's immediately lost upon save. Not a problem per se, but makes this bit of code pointless.
Describe the solution you'd like
We add a created attribute to objects when we save them for the first time in the objectApi. Remove the non working code above. This information will need to be added/shown to the inspector as well when viewing information related to a domainObject.
Describe alternatives you've considered
Currently, as mentioned above, we try to save it to the CouchObjectProvider metadata, but it's lost immediately.
Additional context
We have persisted and modified timestamps currently on domainObjects and we'll be adding createdBy and modifiedBy attribution as well, this seems like something that we should also have.
The text was updated successfully, but these errors were encountered: