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

Java Automation Client must handle document update with multi-line string values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF05, 8.1
    • Fix Version/s: 6.0-HF28, 7.10-HF06, 8.2
    • Component/s: Java Client
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Extra spaces must be removed in properties-like automation operations configuration, for instance:

      dc:description = @

      {Document['dc:title']}

      @

      {Context['nextId']}

      should become

      dc:description=@

      {Document['dc:title']}

      @

      {Fn.getNextId("myuidseq")}
      Show
      Extra spaces must be removed in properties-like automation operations configuration, for instance: dc:description = @ {Document['dc:title']} @ {Context['nextId']} should become dc:description=@ {Document['dc:title']} @ {Fn.getNextId("myuidseq")}
    • Sprint:
      NOS-12

      Description

      document.set("rdSchema:adresse", "line1\\\nline2\\\nline3");
      documentService.update(document);
      

      must set the property value to:
      "line1
      line2
      line3"
      Nevertheless, the result is:
      "line1line2
      line3"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m

                    PagerDuty

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