Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-10103

Advanced Search by Tag or custom fields not working in 4.2

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.2
    • Labels:
      None
    • Environment:
      Version: 4.2.0
      Database: MySQL
      App Server: Not Applicable
      Mobile Version: Not Applicable
      OS: RHEL

      Description

      "Advanced Search by Tag or custom fields not working"
      The customer is experiencing an issue where adding a TAG form control to the advanced search form seems to work ok, however the returned search is not searching the TAG(s) in 4.2. 4.1.5 Works OK.

      I am attaching result captures of 4.1.5 vs 4.2.0 as well as the share-config-custom.xml fragment of the advanced search form

      =================================================

      Steps to reproduce

      1. in 4.1.5: add the attached advanced admin form config (see attached shared-config-custom.xml) to your Distro. Restart Alfresco.
      2. Add a tag to a document.
      3. Search the tag via advanced search
      4. Expected Behavior: should be able to find the tag
      5. Observed Behavior: in 4.1.5 a document with this tag is successfully found.
      6. in 4.2: add the attached advanced admin form config (see attached shared-config-custom.xml) to your Distro. Restart Alfresco.
      7. Add a tag to a document.
      8. Search the tag via advanced search
      9. Expected Behavior: should be able to find the tag
      10. Observed Behavior: in 4.2 a document with this tag is not found.
      11. Validated that the TAG is actually created (noderefid: workspace://SpacesStore/d0235303-bf6f-4bf1-9957-907096163996)
      12. A TAG property search via node browser is successful.

      The actual call is:
      http://localhost:8080/share/page/search?t=&q=

      {"prop_cm_name":"","prop_cm_title":"","prop_cm_description":"","prop_mimetype":"","prop_cm_modified-date-range":"","prop_cm_modifier":"","prop_cm_categories":"","prop_cm_taggable":"workspace://SpacesStore/d0235303-bf6f-4bf1-9957-907096163996","datatype":"cm:content"}

      &r=true

      Which is identical in 4.1.5 vs 4.2, with the exception of the tag's noderefid.

        Attachments

        1. advsrchStackColonConstraint420
          12 kB
        2. advsrchStackColonConstraint422
          14 kB
        3. share-config-custom.xml
          1.0 kB
        4. ShareTag415.mov
          6.43 MB
        5. ShareTag42.mov
          3.76 MB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  wgonzalez William Gonzalez [X] (Inactive)
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 weeks, 7 hours, 15 minutes
                    2w 7h 15m

                      Structure Helper Panel