mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALFCOM-2678, ALFCOM-2678 and ETWOONE-443.
- handling of illegal search terms by user association pickers git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1025,7 +1025,12 @@ public abstract class BaseAssociationEditor extends UIInput
|
||||
|
||||
if (contains != null && contains.length() > 0)
|
||||
{
|
||||
String safeContains = contains.trim();
|
||||
String safeContains = null;
|
||||
if (contains != null && contains.length() > 0)
|
||||
{
|
||||
safeContains = Utils.remove(contains.trim(), "\"");
|
||||
safeContains = safeContains.toLowerCase();
|
||||
}
|
||||
|
||||
// if the association's target is the person type search on the
|
||||
// firstName and lastName properties instead of the name property
|
||||
|
Reference in New Issue
Block a user