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

Exception when document title is updated from an action chain and the document has no title

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Web UI

      Description

      Steps to reproduce:

      • Create a custom document type
      • Title is not nos defined as required in the creation view
      • Create a document without title
      • When the action chain updates the title of the document this error happens:
      elements.html:94828 Uncaught TypeError: Cannot read property 'replace' of undefined
          at HTMLElement._sanitizeName (elements.html:94828)
          at HTMLElement._create (elements.html:95117)
          at HTMLElement.handler (elements.html:3767)
          at HTMLElement.fire (elements.html:4544)
          at Object.fire (elements.html:4116)
          at Object.forward (elements.html:4413)
          at Object.click (elements.html:4398)
          at HTMLElement.handleNative (elements.html:4006)
      

      The same behaviour doesn't produce an error in JSF

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: