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

Replace usage of deprecated localReferenceEntityReferenceSerializer by EntityReference#removeParent

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0-milestone-1
    • Fix Version/s: 4.0-milestone-2
    • Component/s: Model, Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We have component injection, usually in non-component classes, just to support the removal of the wiki part of a reference. This could be fix more lightly using a helper function removeParent on EntityReference, avoiding component manager overhead without really impacting code style. This will be faster as well.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: