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

Fix current user display when no author or creator is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.5
    • Component/s: Seam / JSF UI
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      org.nuxeo.ecm.platform.ui.web.tag.fn.Functions#userFullName(String username) now returns null instead of current user name when given username is null.

      Show
      org.nuxeo.ecm.platform.ui.web.tag.fn.Functions#userFullName(String username) now returns null instead of current user name when given username is null.

      Description

      The nxu:userFullName method strangely uses the current user when no user name is given => this displays the current user a author or creator, for instance, instead of displaying nothing.

      Another specific method should be used to display the current user in other cases.

        Attachments

          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: