Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3226

No logical order in the help of the console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.0, 4.7.11
    • 4.3.0
    • None
    • None

      The list of available functions in the script tool is not ordered.

      I have added three functions in a same file

      <function class="org.ametys.plugins.core.ui.script.RuntimeScriptBinding">
          <descriptions>
              <description>
                  <name>test1</name>
                  <text i18n="false">Je suis une méthode de test</text>
              </description>
              <description>
                  <name>test2</name>
                  <text i18n="false">Voici un test 2</text>
              </description>
              <description>
                  <name>test0</name>
                  <text i18n="false">j'aimerai bien apparaître en premier !</text>
              </description>
          </descriptions>
          <script>
      function test1() {
          print("test 1");
      }
      function test0() {
          print("test 0");
      }
      function test2() {
          print("test 2");
      }
          </script>
      </function>

      They are not grouped or the whole list is not ordered alphabetically at the end.

      Same for variables.

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

              Created:
              Updated: