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

Same-implementation problem is gone after decorating

    XMLWordPrintable

Details

    • Bug
    • Resolution: Inactive
    • Major
    • None
    • 2.1
    • None
    • Endpoint v1

    Description

      Steps to reproduce:

      + Put "duplicated-rest-endpoint" into "modules"

      "duplicated-rest-endpoint/restEndpoints/duplicatedRestEndpoint.yaml"

      class: info.magnolia.rest.delivery.jcr.v1.JcrDeliveryEndpointDefinition
      implementationClass: info.magnolia.rest.delivery.jcr.v1.JcrDeliveryEndpoint
      params:
        pages:
          workspace: website
          bypassWorkspaceAcls: true
      

      + Problems tab shows that the endpoint and tourFinder are using the same implementation that is not supported

      + Decorate it with "duplicated-rest-endpoint-decoration/decorations/duplicated-rest-endpoint/restEndpoints/duplicatedRestEndpoint.yaml"

      params:
        pages:
          bypassWorkspaceAcls: false
      

      => Problem disappears!

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              hieu.nguyen Hieu Nguyen Duc
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD