Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-295

Custom Reference Resolvers Failing since 2.2.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.2.2, 2.2.5, 2.2.6
    • delivery
    • None

      Steps to reproduce

      1.  Configure a delivery endpoint using the attached example of a custom reference resolver.
      2.  Request content using the new endpoint.

      Expected results

      1. In releases pre 2.2.2, the reference resolver works and returns a JSON serialised object.

      Actual results

      1. Magnolia produces a 500 error without logging anything. In incomplete JSON response is delivered with no key for the resolved property but a serialised object.
        ie.
        {"results":[{"@name":"Testing","@path":"/Testing","@id":"bdbaf549-e1aa-4bd2-8fb9-80be4d9dc270","@nodeType":"mgnl:event", {"name":"A Dummy Object"}

      Workaround

      1. None yet.

      Development notes

        Acceptance criteria

              Unassigned Unassigned
              chris.jennings Chris Jennings
              DeveloperX
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD