Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-454

Make saved search emails work with custom search form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.5
    • Fix Version/s: None
    • Component/s: Web UI

      Description

      When loading a saved search from an email, the following function is called

      _getSavedSearchForm: function() {
              if (!this._routedSearch) {
                return null;
              }
              return this.$$('nuxeo-search-form[provider="' + this._routedSearch.properties['saved:providerName'] + '"]');
            } 
      

      If using a custom search form, nothing loads from link provided in email because nuxeo-search-form is hardcoded in the function.

      Steps to reproduce:
      Requirements: must be using custom search form

      1. Login to Nuxeo webUI.
      2. Click on Search from sidebar.
      3. Search for some document.
      4. Click “Save as” your search.
      5. Now open saved search from drop down.
      6. Click more button and click share.
      7. Inside Permission defined locally, add an internal user to access the shared search with read/Edit/Manage Everything permission.
      8. Once recipient receives the mail, click on the link and see if shared search is visible or not.
        Actual Result:
        Once clicked the link received in the email, opens a blank page.

      Expected Result:
      Should display the shared saved search.

      If you manually change the name from nuxeo-search-form to the name of your custom search form, the page loads.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 20 minutes
                  3d 20m