Stapler JS proxy not correctly created for classes implementing StaplerProxy

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      If a method of a Stapler model object S is annotated with @JavaScriptMethod then code to access this method using an Ajax call is automatically generated. If the model object implement StaplerProxy and thus delegates all UI logic to a new object P of a different class then the invocation of the @JavaScriptMethod (that is now part of the class P) does not work anymore. In order to get this working again, one needs to add an additional empty method with the same name in the class S that is also marked with @JavaScriptMethod.

      See ChangeLog of warnings plugin 5.1.0 for details.

            Assignee:
            Unassigned
            Reporter:
            Ulli Hafner
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: