TokenMacro.expand() duplicates private macros when called multiple times

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: token-macro-plugin
    • None
    • Environment:
      token-macro-1.7

      When calling expand() with private macros, those get added to the all() list.
      Repeating the command adds them again (duplicates them).

      I believe the proper behaviour should be one of:
      1. Do not add them to the all() list, those are private macros.

      or

      2. Only add them once.

      P.S. This affects the use of email-ext-plugin-2.30.2.

      Thank you,
      Bartosz Zak

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Bartosz Zak
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: