Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7362

Add paginate target to list forms to fix the pagination error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • content
    • None
    • Community Day 3 - 2016

    Description

      I found issue in pagination on some screens when we do any operation (like update, delete) on list item.

      For example: I have updated the content type from list in Content Setup Menu in Content application and then clicked on next link of pagination, I got the following error:

      The Following Errors Occurred:
      Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [contentTypeId] passed to secure (https) request-map with uri [updateContentType] with an event that calls service [updateContentType]; this is not allowed for security reasons!
      

      The above error is unexpected as I just tried to see next list records of ContentType. The reason of error is pagination URL which is same as URL of page i.e. updateContentType. This URL is the update operation URL and it is not redirected to appropriate page after operation.

      Pagination target URL should be independent of page URL and it should be added on form using paginate-target attribute of form widget.

      This is a parent ticket and child tickets will be added in it for components.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              amardeepsj Amardeep Singh Jhajj
              amardeepsj Amardeep Singh Jhajj
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: