Merged BRANCHES/V2.2 to BRANCHES/V2.3:

100725: RM-1586 : Add another search for the property in the case of legacy html encoded properties

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@100726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alexandru Balan
2015-03-30 15:19:59 +00:00
parent cac665797f
commit 808ba031c1

View File

@@ -134,7 +134,11 @@ public class CustomPropertyDefinitionPut extends BaseCustomPropertyWebScript
String propId = (String)params.get(PROP_ID);
ParameterCheck.mandatoryString("propId", propId);
QName propQName = rmAdminService.getQNameForClientId(URLEncoder.encode(propId));
QName propQName = rmAdminService.getQNameForClientId(propId);
if (propQName == null)
{
propQName = rmAdminService.getQNameForClientId(URLEncoder.encode(propId));
}
if (propQName == null)
{
throw new WebScriptException(Status.STATUS_NOT_FOUND,