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

[SearchModel] Default widget on rich-text in criteria

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.10.4, 4.11.0, 4.9.18
    • 4.11.0
    • None
    • None

      The default widget associated to rich-text in a criterion for a search model is edition.richtext even if the type is forced to string because it is a search.

      Steps to reproduce

      1. Open the ODF Web template
      2. Open the program search tool
      3. You get the following error in the JS console (F12) :
        ERROR	[Ametys.form.WidgetManager]	There is no registered widget of xtype 'edition.richtext' for type 'string' (non enumerated/single). Default widget will be used. 
        (anonyme) @ Entry.js:139
        _log @ Logger.js:214
        error @ Logger.js:148
        (anonyme) @ WidgetManager.js:280
        getWidget @ WidgetManager.js:215
        getValueField @ AdvancedSearchFormPanel.js:1782
        _drawDefaultLine @ AdvancedSearchFormPanel.js:1338
        (anonyme) @ AdvancedSearchFormPanel.js:382
        (anonyme) @ ContentSearchTool.js:910
        [...]

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: