[ALF-10840] SOLR indexing fails for unescaped string metadata Created: 15-Oct-11 Updated: 04-Nov-11 Resolved: 19-Oct-11
|Component/s:||Search and Indexing (non-UI)|
|Affects Version/s:||4.0.a Community|
|Fix Version/s:||4.0 Enterprise|
|Security Level:||external (External user)|
|Reporter:||Andreas Steffan (Inactive)||Assignee:||Closed Issues|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Date of First Response:|
Solr Indexing (almost silently) fails for nodes with indexed string properties (of type d:text) where the value needs escaping - dl:simpletaskComments of dl:simpletask is an example. Insert a " or a line-break and all you see is a one line warning in solr's log. Attached, you'll find a fix.
|Comment by Andreas Steffan (Inactive) [ 15-Oct-11 ]|
|Comment by Ravi Manthena [X] (Inactive) [ 01-Nov-11 ]|
Assigned to Alfresco QA Team for re-testing.
please confirm before you start testing this bug
1. Ensure that Head build number is 604
|Comment by Alfresco QA Team (Inactive) [ 02-Nov-11 ]|
Please, provide more info how to validate this issue
|Comment by Steven Glover [X] (Inactive) [ 02-Nov-11 ]|
There is a unit tests that covers this (see SOLRWebScriptTest.testNodeMetaDataStringEscaping). However, you could test from the web client by creating a node with an author that
|Comment by Alfresco QA Team (Inactive) [ 04-Nov-11 ]|
Successfully validated against Alfresco Enterprise build 604(r 31562), Tomcat, PostgreSQL, Java (all installer deployed), WinXP SP3, FF 7.0.1.