cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message when Editing properties

drbaz
Champ in-the-making
Champ in-the-making
I have created a new custom type, with 1 property and 1 assocation.

the association definition is
  <type name="tx:myContent">
         <title>My Content</title>
         <parent>cm:content</parent>
         <properties>
       <property name="tx:myDate">
               <type>d:datetime</type>
            </property>
         </properties>
         <associations>
            <association name="tx:documents">
               <target>
                  <class>cm:content</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
        </association>           
         </associations>
      </type>
    </types>
I have added my definiton to the web-client-config-edit-properties.xml file.

When i select Ok after editing the properties I get the following error:

A system error happened during the operation: The content mimetype must be set whenever the URL is set: content URL:store://2005/12/8/dd6b9d0a-67f0-11da-b2c2-bd639b9a57d5.bin mimetype: null

Any suggestions :?:
1 REPLY 1

drbaz
Champ in-the-making
Champ in-the-making
Found my problem  :roll:

In the web-client-config-edit-properties.xml, in my definition for

<config evaluator="node-type" condition="tx:myContent>
      <property-sheet>
      </property-sheet>
   </config>

I had also put the default properties between the <show-property> tags.

Once I removed them the error disappeared

Smiley Happy <— happy bunny