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

Documents are not returned from search if the type contains a boolean property with index atomic=false

    Details

    • Bug Priority:
      Category 3

      Description

      [Steps to reproduce]

      • Load attached content-model2.xml with the following type
        <type name="sup:type">
        			<title>My Type</title>
        			<parent>cm:content</parent>
        			<properties>
        				<property name="sup:boolean">
        					<title>boolean property</title>
        					<type>d:boolean</type>
        					<index enabled="true">
        						<atomic>false</atomic>
        						<stored>false</stored>
        						<tokenised>true</tokenised>
        						<facetable>true</facetable>
        					</index>
        				</property>
        			</properties>
        		</type>
          
      • log into Share
      • create a document with that property:
          var props = new Array(1); 
          props["sup:boolean"] = true; 
          companyhome.createNode("documentWithBoolean","sup:type", props); 
          companyhome.createNode("documentWithoutBoolean","sup:type"); 
        
      • * Go to http://<host>:<port>/share/page/dp/ws/faceted-search and search for Boolean
      • [Expected behaviour]
        Search should return both documents

      [Observed behavior]

      • Just documentWithoutBoolean is returned

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  mmancuso Marco Mancuso [X] (Inactive)
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel