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

add getViolations() to DocumentValidationException

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 8.10, 9.10, 10.1
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Schema

      Description

      When a DVE is thrown this message is displayed

      2018-04-18 12:27:30,016 ERROR [Nuxeo-Importer-1] [org.nuxeo.ecm.platform.importer.base.GenericThreadedImportTask] Error during import
      org.nuxeo.ecm.core.api.validation.DocumentValidationException: 2 constraint violation(s) thrown. First one is: ‘Value is required.’, call DocumentValidationException.getViolations() to get the others
      

      but there is no getViolations method

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hbrown Harlan Brown
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: