Uploaded image for project: '{RETIRED} XWiki Tag Application'
  1. {RETIRED} XWiki Tag Application
  2. XATAG-12

NPE when retrieving tags for a new document / document with no tags

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.3
    • 1.2
    • Plugin
    • None

    Description

      com.xpn.xwiki.plugin.tag.TagPlugin.getTagsFromDocument(XWikiDocument) does not check the result of document.getObject(TAG_CLASS).safeget(TAG_PROPERTY), which is null for a document without tags.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: