Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1082

Fix tests for hierarchical vocabulary

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.3, 2.7
    • Component/s: Vocabularies

      Description

      Hierarchical vocabulary is not correctly declared in tests.

      This problem is shown by integration tests: the "obsolete" columns is filled with empty values instead of a boolean => directory registration crashes with:

      2012-06-18 15:15:28,197 ERROR [org.nuxeo.ecm.directory.DirectoryServiceImpl] failed to set column 'obsolete' on table 'studio_vocabulary_world', values: [0: europe, 1: Europe, 2: , 3: 0]
      org.nuxeo.ecm.directory.DirectoryException: failed to set column 'obsolete' on table 'studio_vocabulary_world', values: [0: europe, 1: Europe, 2: , 3: 0]
      	at org.nuxeo.ecm.directory.sql.SQLHelper.loadData(SQLHelper.java:375)
      	at org.nuxeo.ecm.directory.sql.SQLHelper.setupTable(SQLHelper.java:127)
      [...]
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.NumberFormatException. message: For input string: ""
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      	at java.lang.Long.parseLong(Long.java:431)
      

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.