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

Remove the usage of custom header X-BatchID

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.1-milestone-2
    • Fix Version/s: 7.1-rc-1
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      We wrongly used a message header X-BatchID to identify the batch of a message in some of our API. Message are identified by the Message-ID header, and the usage of that custom header is an implementation details that should not leak in messages. Moreover, not all mime message will contain this header, causing spurious API failure (implicit hidden API).

      So, we should expose explicitly the batchId in some API that are currently using the custom header as a required information, and remove the custom header from sent mails.

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: