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

[SelectReferenceTableContent] impossible to use search

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • None
    • None
    • 4.1 RC2

      because ContentTypes mandatory parameter is not well configured and do not propose any content type

          [CMS-8998] [SelectReferenceTableContent] impossible to use search

          Resolution: invalid.

          Indeed, it is due to the widget edition.select-content used for a reference table

          Simon Prieul (Inactive) added a comment - Resolution: invalid. Indeed, it is due to the widget edition.select-content used for a reference table

          This is forbidden too. It is a problem of use.

          Laurence Aumeunier added a comment - This is forbidden too. It is a problem of use.

          Simon Prieul (Inactive) added a comment - - edited

          Actually, the issue happens with a content metadata pointing to a reference table, but forcing the widget to <cms:widget>edition.select-content</cms:widget> in its declaration

          Simon Prieul (Inactive) added a comment - - edited Actually, the issue happens with a content metadata pointing to a reference table, but forcing the widget to <cms:widget>edition.select-content</cms:widget> in its declaration

          Simon Prieul (Inactive) added a comment - - edited

          then SelectReferenceTableContent is missing the following code (or something equivalent) to be sure to forbid config overwriting :

          constructor: function(config)
          {
              this.callParent(arguments);
              this.allowSearch = false;
          }
          

          Simon Prieul (Inactive) added a comment - - edited then SelectReferenceTableContent is missing the following code (or something equivalent) to be sure to forbid config overwriting : constructor: function (config) { this .callParent(arguments); this .allowSearch = false ; }

          allowSearch option is set to false when using the widget "edition.select-reference-table".
          All CONTENT metadata with reference table should used this widget and SHOULD NOT force allowSearch to true.
          If do, you have to create your own search model and using it in widget parameter modelId.

          For me it is a WON'T FIX issue.

          Laurence Aumeunier added a comment - allowSearch option is set to false when using the widget "edition.select-reference-table". All CONTENT metadata with reference table should used this widget and SHOULD NOT force allowSearch to true. If do, you have to create your own search model and using it in widget parameter modelId . For me it is a WON'T FIX issue.

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: