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

auto-completer does not work to search Data Resource Id and owner content id

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.11.01
    • Fix Version/s: 16.11.01
    • Component/s: content
    • Labels:
      None

      Description

      Steps to reproduce:
      1. Login to content manager.
      2. Go to find content page.
      3. Search data resource id or owner content id using auto-completer.
      Expected behavior: auto-completer should work and return results like lookup does.

      1. OFBIZ-7721.patch
        2 kB
        Ankush Upadhyay

        Activity

        Hide
        ankush.upadhyay Ankush Upadhyay added a comment -

        Attached patch to fix both the auto-completers.

        Show
        ankush.upadhyay Ankush Upadhyay added a comment - Attached patch to fix both the auto-completers.
        Hide
        Florian M Montalbano Florian added a comment -

        Hi,
        I tried the patch and now the autocomplete is going well !

        But I think there is a problem with the LookupContent used for the field "Owner Content Id".
        When you click on the lookup icon and perform a search, you can access, inside the lookup, to the edition page of the content (click on the 'data source id' or the 'owner content id').
        Up to here everything is ok, but when you close the lookup and try to open it again, the page doesn't react anymore.
        When I looked at the request sent to the sertver, instead of 'https://localhost:8443/content/control/LookupContent' there was 'https://localhost:8443/content/control/LookupLocale'.

        I don't think it is related to your patch but can you confirm this problem (or not ) ? I'll open a new issue if needed.

        Have a nice day,
        Thanks.

        Show
        Florian M Montalbano Florian added a comment - Hi, I tried the patch and now the autocomplete is going well ! But I think there is a problem with the LookupContent used for the field "Owner Content Id". When you click on the lookup icon and perform a search, you can access, inside the lookup, to the edition page of the content (click on the 'data source id' or the 'owner content id'). Up to here everything is ok, but when you close the lookup and try to open it again, the page doesn't react anymore. When I looked at the request sent to the sertver, instead of 'https://localhost:8443/content/control/LookupContent' there was 'https://localhost:8443/content/control/LookupLocale'. I don't think it is related to your patch but can you confirm this problem (or not ) ? I'll open a new issue if needed. Have a nice day, Thanks.
        Hide
        ankush.upadhyay Ankush Upadhyay added a comment -

        Yes I am also able to replicate this, you can open new issue for it.

        Show
        ankush.upadhyay Ankush Upadhyay added a comment - Yes I am also able to replicate this, you can open new issue for it.
        Hide
        diveshdut Divesh Dutta added a comment -

        Thanks Ankush Upadhyay for reporting the issue and providing the patch. I have committed your patch in revision number 1759333. Montalbano Florian please create the ticket as you mentioned in this ticket.

        Show
        diveshdut Divesh Dutta added a comment - Thanks Ankush Upadhyay for reporting the issue and providing the patch. I have committed your patch in revision number 1759333. Montalbano Florian please create the ticket as you mentioned in this ticket.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Is it a regression? As an issue being created?

        Show
        jacques.le.roux Jacques Le Roux added a comment - Is it a regression? As an issue being created?
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Ah sorry Divesh, I did not see you already asked about the new Jira, thanks!

        Show
        jacques.le.roux Jacques Le Roux added a comment - Ah sorry Divesh, I did not see you already asked about the new Jira, thanks!
        Hide
        Florian M Montalbano Florian added a comment -

        Hi,
        the ticket is already here : OFBIZ-7759

        Show
        Florian M Montalbano Florian added a comment - Hi, the ticket is already here : OFBIZ-7759

          People

          • Assignee:
            ankush.upadhyay Ankush Upadhyay
            Reporter:
            ankush.upadhyay Ankush Upadhyay
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development