Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-776

nuxeo-path-suggestion is ignoring the query property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: UI

      Description

      • Create a view that use nuxeo-path-suggestion
      • Add the query property
              <nuxeo-path-suggestion label="[[i18n('label.popup.destinationPath')]]"
                                     value="{{dest}}" 
                                     min-chars="0" 
                                     query=" AND ecm:isTrashed = 0"
                                     required>
              </nuxeo-path-suggestion>  
        
      • Deploy your changes
      • Access to the view and select a folder (which contain some deleted child)

      Deleted children are shown

      NOTE: The query property is defined but not used in the source code. Please see:

      https://github.com/nuxeo/nuxeo-ui-elements/blob/2.3.2/nuxeo-path-suggestion/nuxeo-path-suggestion.html#L221

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: