Uploaded image for project: 'PhenoTips'
  1. PT-2925

Expose XWikiDocument in Patient class (via Entities API)

    Details

    • Sprint:
      1.3M5

      Description

      We have some bugs because each time we need a patient document we re-read it from disk/from document access bridge. One example is PT-2786 Closed , and another new one is PT-2860 Closed

      Instead of patching all those bugs separately with band-aids, we should expose the XWikiDocument directly via agreed upon method name.

      PT-2640 Closed will do that on a larger scale, but since we have a bug already the new Entities API methods getXDocument() and getDocumentReference() should be added/exposed in this issue, and getDocument() should be made deprecated.

      (as discussed with Sergiu Dumitriu, Daniel Gross, Itai Gershtansky, Andrew Misyura)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                asm Andrew Misyura
                Reporter:
                asm Andrew Misyura
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: