Macro Browser parses parameters differently in Rich Text compared to Wiki Markup

XMLWordPrintable

      In the rare situation where a macro has multiple un-named parameters, a slightly different parameter map is generated between Rich Text and Wiki Markup.

      See macro-browser.js in conf-webapp, particularly the functions getSelectedMacro and parseMacro.

      getSelectedMacro is invoked by the wiki markup editor, and this internally calls parseMacro. The Rich Text Editor calls parseMacro directly.

      The problem occurs because getSelectedMacro clears out the macro parameters parsed by parseMacro and re-creates the parameter list again from scratch, using a slightly different algorithm.

      We think that the correct approach is to move the parameter parsing in getSelectedMacro into parseMacro, replacing its method.

              Assignee:
              Unassigned
              Reporter:
              Joe Clark
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: