Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4377

Fix user initials on Studio Header

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Detail
    • Resolution: Fixed
    • Affects Version/s: 73.0.2
    • Fix Version/s: 73.1
    • Component/s: Studio Designer

      Description

      When a user has no first and/or last names nothing appears on the initials badge (the first letter of the username should show in this case) and the following error shows in the browser console:

      Uncaught (in promise) TypeError: Cannot read property 'length' of null
          at HTMLElement._computeInitials (nuxeo-studio-header.html:435)
          at runMethodEffect (property-effects.html:797)
          at Function._evaluateBinding (property-effects.html:2612)
          at Object.runBindingEffect [as fn] (property-effects.html:566)
          at runEffectsForProperty (property-effects.html:160)
          at runEffects (property-effects.html:126)
          at HTMLElement._propagatePropertyChanges (property-effects.html:1677)
          at HTMLElement._propertiesChanged (property-effects.html:1642)
          at HTMLElement._flushProperties (property-accessors.html:549)
          at HTMLElement._invalidateProperties (property-effects.html:1490)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m