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

Core > Don't use "id" as a parameter name when it's really a "name"

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Core
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide
      • a parameter name (id -> name) : CoreSession.createDocumentModel(String parentPath, String name, String typeName)
      • a new property "destinationName" in DocumentEventContext properties for event "emptyDocumentModelCreated" (replacing the deprecated "documentModelId")
      Show
      a parameter name (id -> name) : CoreSession.createDocumentModel(String parentPath, String name, String typeName) a new property "destinationName" in DocumentEventContext properties for event "emptyDocumentModelCreated" (replacing the deprecated "documentModelId")

      Description

      This impacts at least some CoreSession APIs like createDocumentModel.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: