-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Bug] Editing an object and changing the id field results in a new item being created #25
Comments
dmlb2000
added a commit
to dmlb2000/pacifica-metadata-mgmt
that referenced
this issue
Sep 23, 2019
Updating a single object wasn't detecting the title right. It would be better to get this as a component property at some point. Signed-off-by: David Brown <dmlb2000@gmail.com>
This was referenced Sep 23, 2019
dmlb2000
added a commit
that referenced
this issue
Sep 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pacifica Metadata Management version
v0.2.0
Platform Details
Google Chrome 76.0.3809.100 (Official Build) (64-bit)
Scenario:
Trying to correct a mistyped id in the instruments table but this also occurs on other tables like users for example.
Steps to Reproduce:
Create a new entry, save new entry, open entry just created, alter id, save, validate old id no longer exists but the new one does.
Expected Result:
It should alter the id and replace the old entry with the new entry.
Actual Result:
A new item is created, old item is left in place unchanged.
Granted this may have some additional implications to cascading changes if the entry was created in the past and is now being edited with other relationships in place. It is also possible based on this comment it may be working as intended and just needs to be a documented behavior. I am up for some discussion here. Thanks,
The text was updated successfully, but these errors were encountered: