Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-644

AbstractChainingListener has no compatibility mode for endListItem without parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.10.3, 14.1-rc-1
    • 10.0
    • API
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      AbstractChainingListener calls beginListItem without parameters if the inheriting renderer doesn't implement it with parameters. However, such a compatibility mode doesn't exist for the equivalent endListItem method. This is unexpected and probably hasn't been noticed due to XRENDERING-643 which removes the parameters whenever, e.g., a look-ahead listener is in the chain. As fixing XRENDERING-643 exposes this unexpected behavior, this missing compatibility mode is a bug that would cause a regression and should thus be fixed before fixing XRENDERING-643.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: