• Multiple Property Group - search error

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #2511  by ribizli
 
Dear Support,

it seems I\'ve found an other strange behavior in OpenKM.

I created a multiple property called okp:test.abc=4,A,B,C,D,E,F,G. I attached A, B and C to a documents.
After that in the serch tab I was searching for A, but the document was not found. But this wasn\'t the case with B and C.

I\'ve made some code review, and found, that searching works in background with XPath queries.

So my queries look like the followings:
Code: Select all
/jcr:root/okm:root//element(*, okg:test)[jcr:contains(@okp:test.abc, \'A\')]
/jcr:root/okm:root//element(*, okg:test)[jcr:contains(@okp:test.abc, \'B\')]
/jcr:root/okm:root//element(*, okg:test)[jcr:contains(@okp:test.abc, \'C\')]
The first one doesn\'t deliver any result.

If I remove the contains keyword, I get my result for A too:
Code: Select all
/jcr:root/okm:root//element(*, okg:test)[@okp:test.abc=\'A\']
I\'ve tried it with a clean downloaded instance.

Can it be a Jackrabbit BUG? [file name=groups-89c17b1c702821306be3b45ecf64e78a.zip size=1047]http://www.openkm.com/images/fbfiles/fi ... 64e78a.zip[/file]
 #2598  by jllort
 
I\'ll testing it.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.