• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • None
    • None
    • None

      FormEditionPanel has to be put in runtime with all widgets stuff.
      It may be complex to associate type<->widgets differently in runtime and cms (content type does not exists in cms for example)

        1.
        Check buttons are mis located Sub-task Closed Unassigned
        2.
        Once test is done the button layout is broken Sub-task Closed Unassigned
        3.
        Database checker is not working Sub-task Closed Unassigned
        4.
        Uncheck a group switch should reset tabstatus Sub-task Closed Raphaël Franchet
        5.
        Tab in errors sometimes overlap with the next tab Sub-task Closed Unassigned
        6.
        switchers should be registered as classic fields Sub-task Closed Unassigned
        7.
        the xml configuration should not use the word "metadata" Sub-task Closed Unassigned
        8.
        A SaveButton should be in runtime Sub-task Closed Unassigned
        9.
        Wrong image path for the directory checker on the repository Sub-task Closed Raphaël Franchet
        10.
        validator is not a field configuration Sub-task Closed Unassigned
        11.
        Makes CommonController#_hasAnyRight protected Sub-task Closed Unassigned
        12.
        When a test has not been executed once, it should not go to warning mode Sub-task Closed Raphaël Franchet
        13.
        When form is linearized, appearance and button Sub-task Closed Raphaël Franchet
        14.
        TestAll tooltip appearance Sub-task Closed Raphaël Franchet
        15.
        Useless json decode? Sub-task Closed Unassigned
        16.
        JSON comments not working Sub-task Closed Raphaël Franchet
        17.
        Edit comment icon is missing Sub-task Closed Unassigned
        18.
        Wrong i18n key for the database checker of the front office Sub-task Closed Raphaël Franchet
        19.
        Sort tabs alphabetically Sub-task Closed Raphaël Franchet
        20.
        Make the live rebuild hour configuration parameter mandatory Sub-task Closed Raphaël Franchet
        21.
        _compareByOrder not working for JSON inputs Sub-task Closed Raphaël Franchet
        22.
        defaultFieldConfig does not handle labelWidth Sub-task Closed Raphaël Franchet

          [RUNTIME-1142] FormEditionPanel

          WEB_ConfigurableFormPanel.patch (which contains a lot of errors) was patched.

          Laurence Aumeunier added a comment - WEB_ConfigurableFormPanel.patch (which contains a lot of errors) was patched.

          I already applyed the StringTime widget part of this patch.

          Raphaël Franchet added a comment - I already applyed the StringTime widget part of this patch.

          • Few adjustments on site configuration.
          • The file 'RUNTIME_ConfigurableFormPanel.patch' also contains the widget corrections of issue 1251.
          • Parameter checkers, group-switches and disable conditions are saxed for the general configuration only. However if they were defined and saxed for other users of the ConfigurableFormPanel, it is supposed to work fine.

          Quentin Glinel-Mortreuil (Inactive) added a comment - - edited Few adjustments on site configuration. The file 'RUNTIME_ConfigurableFormPanel.patch' also contains the widget corrections of issue 1251. Parameter checkers, group-switches and disable conditions are saxed for the general configuration only. However if they were defined and saxed for other users of the ConfigurableFormPanel, it is supposed to work fine.

          The following patches contain :

          • fixes for all the issues below except #3: i did not manage to reproduce it.
          • CommonController#hasRightOnAny protected instead of private
          • The SaveButton if sub-task#8 is a SaveHelper that runs checks on a ConfigurableFormPanel : first check on field errors, then parameter checkers, and finally fields having warnings. The configuration, the configuration of a site, the user preferences and the contents now use this helper . It also handles the server error messages with Ametys.form.SaveErrorDialog.

          Quentin Glinel-Mortreuil (Inactive) added a comment - - edited The following patches contain : fixes for all the issues below except #3: i did not manage to reproduce it. CommonController#hasRightOnAny protected instead of private The SaveButton if sub-task#8 is a SaveHelper that runs checks on a ConfigurableFormPanel : first check on field errors, then parameter checkers, and finally fields having warnings. The configuration, the configuration of a site, the user preferences and the contents now use this helper . It also handles the server error messages with Ametys.form.SaveErrorDialog.

          _setValuesXML:
          wrong path in Ext.dom.select("/metadata/") and comments : remove "*/" from the beginning

          Quentin Glinel-Mortreuil (Inactive) added a comment - - edited _setValuesXML: wrong path in Ext.dom.select(" /metadata/ ") and comments : remove "*/" from the beginning

          Raphaël Franchet added a comment - - edited

          todo :

          • around line 1929 there is a usless attempt to json decode values... but they are already json. we have to understand where this line comes from and how to remove it ; can be due to rawMode ?
          • a doLayout to remove
          • think about RichTextConfiguration that is not shared
          • test json on comments (for ex on the ContentTools autobackup of the comments)

          Raphaël Franchet added a comment - - edited todo : around line 1929 there is a usless attempt to json decode values... but they are already json. we have to understand where this line comes from and how to remove it ; can be due to rawMode ? a doLayout to remove think about RichTextConfiguration that is not shared test json on comments (for ex on the ContentTools autobackup of the comments)

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: