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

Make document model resolver handle indifferently schema name or prefix when setting a property value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.3.2
    • Component/s: Seam / JSF UI

      Description

      #

      {currentDocument.dc.title}

      will retrieve the 'title' property from 'dublincore' schema correctly, but is not able to set it properly when put in a tag "h:inputText" for instance.

      => need to use DocumentModel#setPropertyValue instead of DocumentModel#setProperty because it handles schema prefix/name confusions.

        Attachments

          Issue Links

            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: