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

changeable document is not set to the proper value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.0.1
    • Fix Version/s: 5.4.2
    • Component/s: None
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide
      • now use "currentDocument" and "documentActions#updateCurrentDocument" on document edit page instead of "changeableDocument" and "documentActions#updateDocument"
      • configure real layouts instead of old layouts on documents (document_editor.xhtml is not used for compatibility anymore)
      Show
      now use "currentDocument" and "documentActions#updateCurrentDocument" on document edit page instead of "changeableDocument" and "documentActions#updateDocument" configure real layouts instead of old layouts on documents (document_editor.xhtml is not used for compatibility anymore)

      Description

      In a folder F:
      1. Create a new document
      2. in the create function, return null => we should be sent to the creation view of the new document but we are sent to the edit view of the folder

      Usually, a function will return null after having done some validation, so a work around is to use validator to do the validation

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: