Skip to content
New issue

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

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

Already on GitHub? # to your account

issues when updating tags #179

Open
ptulpen opened this issue Mar 31, 2022 · 0 comments
Open

issues when updating tags #179

ptulpen opened this issue Mar 31, 2022 · 0 comments

Comments

@ptulpen
Copy link

ptulpen commented Mar 31, 2022

when updating tags that already exits, the updating completely fails:

c.g.swrirobotics.bags.BagController - Error deserializing bags:
com.fasterxml.jackson.databind.JsonMappingException: Already had POJO for id (java.lang.String) [[ObjectId: key=a, type=com.fasterxml.jackson.databind.deser.impl.Prope
rtyBasedObjectIdGenerator, scope=java.lang.Object]] (through reference chain: com.github.swrirobotics.support.web.BagList["bags"]->java.util.ArrayList[0]->com.github.s
wrirobotics.persistence.Bag["tags"]->java.util.HashSet[2]->com.github.swrirobotics.persistence.Tag["tag"])

I know the documentation states (* New tags will be added, but missing tags will not be removed) but this does not sound to me that using exisiting tags should fail

I see in the webgui, that tags there also cannot be edited there, only deleted

So maybe it would be nice to have this as an additional feature

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant