Uploaded image for project: '{RETIRED} XWiki Watch List Application'
  1. {RETIRED} XWiki Watch List Application
  2. XPWATCHLIST-27

WatchList send an exception by mail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.17
    • 1.3, 1.5
    • Plugin
    • None
    • watchlist,formatdate,exception

    Description

      For 1.3 and 1.5, if there is an issue with rigths when WatchListMessage retrieve a document with $xwiki.getDocument, than the $udoc is null and an exception is thrown when $formatDate($udoc.date) is executed. This exception is send in the notification mail. I feel that $udoc should be test for null and take an appropriate action.

      This has happen to me due to an issue with the jobs in the Scheduler that were missing the contextUser and other context information, after an upgrade from 1.3 to 1.4. While testing why this happen, the missing fields has appeared after a container restart, however the issue persist for now. I am tracking that further right now.

      Attachments

        Activity

          People

            jvdrean Jean-Vincent Drean
            softec Denis Gervalle
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: