Uploaded image for project: '{RETIRED} XWiki Skin Extensions'
  1. {RETIRED} XWiki Skin Extensions
  2. XSKINX-26

Deleting an SSX prevents any SSX from being processed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9
    • 1.8
    • Web actions
    • None

    Description

      When I create a page with 2 SSX objects, then delete the first object, it prevents the 2nd SSX object from being executed at runtime (throws a NullPointerException). The objects look like this:

      Before deletion

      XWiki.StyleSheetExtension[0]
      XWiki.StyleSheetExtension[1]
      

      After deletion

      XWiki.StyleSheetExtension[1]
      

      This seems to be due to way com.xpn.xwiki.web.sx.SxDocumentSource.getContent() performs its loop (there's no check to see whether sxObj is null or not).

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            orangerd Lewis Denizen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: