Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

issues when updating tags #179

@ptulpen

Description

@ptulpen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions