AnsweredAssumed Answered

CMIS does not seem to care about mandatory custom properties

Question asked by tullo on Apr 18, 2012
Latest reply on Apr 24, 2012 by andy
Hi!

There is something strange going on when a externals SAP system exports documents to our Alfresco 3.4.6 installation via CMIS SOAP requests.

When the SAP system sends createDocument requests and leaves out a mandatory custom property - the documents still get created by Alfresco without any stack trace or SAOP Fault at all!

The created document is also versionable, which should not be the case either as this was not activated!

What do I have to do to get the Repository rejected faulty CMIS request?

Regards
Andreas

Alfresco 3.4.6
Windows Server 2008


        <type name="foo:document">
            <title>Foo document</title>
            <parent>cm:content</parent>
            <properties>
                <property name="foo:apbNr">
                    <description>Foo Number</description>
                    <type>d:text</type>
                    <mandatory>true</mandatory>
                    <index enabled="true">
                        <atomic>false</atomic>
                        <stored>false</stored>
                        <tokenised>both</tokenised>
                    </index>
                    <constraints>
                        <constraint ref="foo:string-length-132"/>
                    </constraints>
                </property>
            </properties>
        </type>

Outcomes