Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18440

Actions are not always used as components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 13.2-rc-1
    • 13.0
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      I just noticed some code doing things like:

                  SaveAction sa = new SaveAction();
                  if (sa.action(context)) {
                      sa.render(context);
                  }
      

      so not going through the standard action handling and since action now expect to be component causing regressions in some cases (but strangely not noticed since 13.0).

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: