mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/V3.4 to HEAD:
24065: Fix for ALF-5064: Overriding the config for a form with an edit-form defined appears to lose knowledge of the custom form 24471: Merged BRANCHES/DEV/BELARUS/V3.4-2010_11_29 to BRANCHES/V3.4: 24361: ALF-6033: Sharepoint broken on Vista. 24548: Fix for ALF-6110:Checking out doсument's via MS Office leads to incorrect displaying of document's metadata and for ALF-6113: MP3 files cause an error when viewing the Document Details page 24601: Fix for ALF-6032: It's impossible to create meeting items git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -71,6 +71,14 @@
|
|||||||
<property name="ia:isOutlook">
|
<property name="ia:isOutlook">
|
||||||
<type>d:boolean</type>
|
<type>d:boolean</type>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="ia:outlookUID">
|
||||||
|
<title>Outlook UID</title>
|
||||||
|
<type>d:text</type>
|
||||||
|
<mandatory>false</mandatory>
|
||||||
|
<index enabled="true">
|
||||||
|
<tokenised>false</tokenised>
|
||||||
|
</index>
|
||||||
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
<associations>
|
<associations>
|
||||||
<child-association name="ia:ignoreEventList">
|
<child-association name="ia:ignoreEventList">
|
||||||
|
@@ -82,6 +82,7 @@ import org.alfresco.service.cmr.version.VersionHistory;
|
|||||||
import org.alfresco.service.cmr.version.VersionType;
|
import org.alfresco.service.cmr.version.VersionType;
|
||||||
import org.alfresco.service.cmr.workflow.WorkflowInstance;
|
import org.alfresco.service.cmr.workflow.WorkflowInstance;
|
||||||
import org.alfresco.service.cmr.workflow.WorkflowService;
|
import org.alfresco.service.cmr.workflow.WorkflowService;
|
||||||
|
import org.alfresco.service.namespace.NamespaceException;
|
||||||
import org.alfresco.service.namespace.NamespacePrefixResolver;
|
import org.alfresco.service.namespace.NamespacePrefixResolver;
|
||||||
import org.alfresco.service.namespace.NamespacePrefixResolverProvider;
|
import org.alfresco.service.namespace.NamespacePrefixResolverProvider;
|
||||||
import org.alfresco.service.namespace.NamespaceService;
|
import org.alfresco.service.namespace.NamespaceService;
|
||||||
@@ -2808,10 +2809,20 @@ public class ScriptNode implements Serializable, Scopeable, NamespacePrefixResol
|
|||||||
Map<String, Serializable> nodePropertiesShortQNames
|
Map<String, Serializable> nodePropertiesShortQNames
|
||||||
= new LinkedHashMap<String, Serializable>(nodeProperties.size());
|
= new LinkedHashMap<String, Serializable>(nodeProperties.size());
|
||||||
for (QName nextLongQName : nodeProperties.keySet())
|
for (QName nextLongQName : nodeProperties.keySet())
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
String nextShortQName = getShortQName(nextLongQName);
|
String nextShortQName = getShortQName(nextLongQName);
|
||||||
nodePropertiesShortQNames.put(nextShortQName, nodeProperties.get(nextLongQName));
|
nodePropertiesShortQNames.put(nextShortQName, nodeProperties.get(nextLongQName));
|
||||||
}
|
}
|
||||||
|
catch (NamespaceException ne)
|
||||||
|
{
|
||||||
|
// ignore properties that do not have a registered namespace
|
||||||
|
|
||||||
|
if (logger.isDebugEnabled())
|
||||||
|
logger.debug("Ignoring property '" + nextLongQName + "' as it's namespace is not registered");
|
||||||
|
}
|
||||||
|
}
|
||||||
json.put("properties", nodePropertiesShortQNames);
|
json.put("properties", nodePropertiesShortQNames);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user