Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8838

When creating a page, a useless request to solr is sent

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • None
    • None
    • None
    • 4.1 M6

      and when solr has an issue, the request is locked.

      apparently this is due to the empty redirection to a page widget. As it is empty it should not launch any request.

          [CMS-8838] When creating a page, a useless request to solr is sent

          Ok tested with solr shut down

          Laurence Perier added a comment - Ok tested with solr shut down

          It was a AbstractQueryableCombox issue when setting a empty value

          Laurence Aumeunier added a comment - It was a AbstractQueryableCombox issue when setting a empty value

          Laurence Aumeunier added a comment - - edited

          The call is done on setValue("")

          this._cardPanel.down("*[itemId='add-page-pagetype-redirection-cms-field']").setValue(this._model["redirection-cms"], true);
          

          Maybe a issue of AbstractQueryableCombobox ? No request is necessary when setting a null or empty value.

          Laurence Aumeunier added a comment - - edited The call is done on setValue("") this ._cardPanel.down( "*[itemId= 'add-page-pagetype-redirection-cms-field' ]" ).setValue( this ._model[ "redirection-cms" ], true ); Maybe a issue of AbstractQueryableCombobox ? No request is necessary when setting a null or empty value.

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: