Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17118

TagService must work with non default idType

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF12, 7.2
    • Fix Version/s: 6.0-HF13, 7.3
    • Component/s: Tagging

      Description

      When using a non default varchar id type, the tagservice fails when untagging:

      
      java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
      	at org.nuxeo.ecm.platform.tag.TagServiceImpl$UnrestrictedRemoveTagging.run(TagServiceImpl.java:225)
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:110)
      	at org.nuxeo.ecm.platform.tag.TagServiceImpl.untag(TagServiceImpl.java:196)
      

      This fails for sequence id type -Dnuxeo.test.vcs.idtype=sequence

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: