You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Mouad EL BAKKALI (JIRA)" <ji...@apache.org> on 2013/06/06 10:15:19 UTC
[jira] [Updated] (CMIS-665) load primary type in
AbstractBrowserService
[ https://issues.apache.org/jira/browse/CMIS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mouad EL BAKKALI updated CMIS-665:
----------------------------------
Description:
While trying to create a document, loading the primary type fails in:
{code:title=AbstractBrowserService.java}
....
// load primary type
List<String> objectTypeIdsValues = properties.get(PropertyIds.OBJECT_TYPE_ID);
if (objectTypeIdsValues != null && !objectTypeIdsValues.isEmpty()) {
TypeDefinition typeDef = typeCache.getTypeDefinition(objectTypeIdsValues.get(0));
if (typeDef == null) {
throw new CmisInvalidArgumentException("Invalid type: " + objectTypeIdsValues.get(0));
}
}
....
{code}
objectTypeIdsValues = null.
was:
While trying to create a document, loading the primary type fails in:
{code:title=AbstractBrowserService.java}
....
// load primary type
List<String> objectTypeIdsValues = properties.get(PropertyIds.OBJECT_TYPE_ID);
if (objectTypeIdsValues != null && !objectTypeIdsValues.isEmpty()) {
TypeDefinition typeDef = typeCache.getTypeDefinition(objectTypeIdsValues.get(0));
if (typeDef == null) {
throw new CmisInvalidArgumentException("Invalid type: " + objectTypeIdsValues.get(0));
}
}
....
{code}
> load primary type in AbstractBrowserService
> -------------------------------------------
>
> Key: CMIS-665
> URL: https://issues.apache.org/jira/browse/CMIS-665
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-server
> Reporter: Mouad EL BAKKALI
>
> While trying to create a document, loading the primary type fails in:
> {code:title=AbstractBrowserService.java}
> ....
> // load primary type
> List<String> objectTypeIdsValues = properties.get(PropertyIds.OBJECT_TYPE_ID);
> if (objectTypeIdsValues != null && !objectTypeIdsValues.isEmpty()) {
> TypeDefinition typeDef = typeCache.getTypeDefinition(objectTypeIdsValues.get(0));
> if (typeDef == null) {
> throw new CmisInvalidArgumentException("Invalid type: " + objectTypeIdsValues.get(0));
> }
> }
> ....
> {code}
> objectTypeIdsValues = null.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira