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

country directory breaks webui aggregate

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Web UI

      Description

      In studio,

      -configure a custom document type which contains a directory field which uses the OOTB country directory

      • configure a search screen with an aggregate for the custom field created previously
      • deploy
      • create a document and set the country field
      • open the custom search view
        ==> the view is broken
      Uncaught (in promise) TypeError: Cannot read property 'label_en' of undefined
          at HTMLElement.labelForDirectoryEntry (nuxeo-app.html:26815)
          at HTMLElement._computeLabel (nuxeo-app.html:26793)
          at nuxeo-app.html:26762
          at Array.forEach (<anonymous>)
          at HTMLElement._computeBuckets (nuxeo-app.html:26760)
          at runMethodEffect (nuxeo-app.html:3488)
          at Object.runComputedEffect [as fn] (nuxeo-app.html:3105)
          at runEffectsForProperty (nuxeo-app.html:2832)
          at runEffects (nuxeo-app.html:2798)
          at runComputedEffects (nuxeo-app.html:3082)
      

        Attachments

        1. error.JPG
          189 kB
          Michaël Vachette

          Activity

            People

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

              Dates

              • Created:
                Updated: