Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-121755

Failed to load resource /o/dynamic-data-mapping-form-field-types in another context than ROOT

    Details

    • Branch Version/s:
      7.3.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4

      Description

      When running Liferay in another context than ROOT, (ex. /portal) the input fields not load because URL not contain the context.

      const ENDPOINT_FIELD_TYPES = `${window.location.origin}/o/dynamic-data-mapping-form-field-types`;

      The code must contain context like:

      const ENDPOINT_FIELD_TYPES = `${window.location.origin}${themeDisplay.getPathContext()}/o/dynamic-data-mapping-form-field-types`;

       

        Attachments

          Activity

            People

            Assignee:
            team-forms Product Team Forms
            Reporter:
            borxa Borxa Varela
            Participants of an Issue:
            Recent user:
            Jorge Diaz
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              21 weeks, 1 day ago

                Packages

                Version Package
                7.3.X
                Master