AnsweredAssumed Answered

Custom Aspect properties not updating

Question asked by georgera on Mar 31, 2016
Latest reply on Apr 1, 2016 by georgera
When I go to update a nodes properties with a custom aspect I get these errors and the properties are left unchanged.

2016-03-31 11:04:55,467  WARN  [processor.node.NodeFormProcessor] [http-bio-8080-exec-10] Ignoring field 'prop_dac_ds_signatory_title' as a property definition can not be found
2016-03-31 11:04:55,468  WARN  [processor.node.NodeFormProcessor] [http-bio-8080-exec-10] Ignoring field 'prop_dac_ds_complete_time' as a property definition can not be found
2016-03-31 11:04:55,468  WARN  [processor.node.NodeFormProcessor] [http-bio-8080-exec-10] Ignoring field 'prop_dac_ds_signatory' as a property definition can not be found


My model looks like this


<aspect name="dac_ds:signable">
         <title>DAC Digital Signature</title>
         <properties>
            <property name="dac_ds:status">
               <type>d:text</type>
               <default>NEW</default>
               <constraints>
                  <constraint name="dac_ds:statusList" type="LIST">
                     <parameter name="allowedValues">
                        <list>                           
                           <value>NEW</value>
                           <value>CANCELED</value>
                           <value>SENT</value>      
                           <value>COMPLETED</value>
                           <value>TEMPLATE</value>
                        </list>
                     </parameter>
                  </constraint>
               </constraints>
            </property>
            <property name="dac_ds:start_time">
               <type>d:datetime</type>
            </property>
            <property name="dac_ds:complete_time">
               <type>d:datetime</type>
            </property>
            <property name="dac_ds:envelopeID">
               <type>d:text</type>
            </property>
            <property name="dac_ds:envelopeName">
               <type>d:text</type>
            </property>
            <property name="dac_ds:documentID">
               <type>d:text</type>
            </property>
            <property name="dac_ds:signature_flow">
               <type>d:text</type>
               <default>PARALLEL</default>
               <constraints>
                  <constraint name="dac_ds:signature_flowList" type="LIST">
                     <parameter name="allowedValues">
                        <list>
                           <value>SEQUENTIAL</value>
                           <value>PARALLEL</value>
                        </list>
                     </parameter>
                  </constraint>
               </constraints>
            </property>
            <!– *************************** –>
            <property name="dac_ds:signatory">
               <type>d:text</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:signatory_title">
               <type>d:text</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:sig_x">
               <type>d:int</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:sig_y">
               <type>d:int</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:sig_w">
               <type>d:int</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:sig_h">
               <type>d:int</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:sig_page">
               <type>d:int</type>
               <multiple>true</multiple>
            </property>
            <!–property name="dac_ds:sig_complete">
               <type>d:boolean</type>
               <multiple>true</multiple>
            </property–>
            <property name="dac_ds:sig_form_edit">
               <type>d:boolean</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:mandatory">
               <type>d:boolean</type>
               <multiple>true</multiple>
            </property>
            <property name="dac_ds:order">
               <type>d:int</type>
               <multiple>true</multiple>
            </property>
         </properties>
      </aspect>


My aspect evaluator in the share_config_custom.xml looks like this.


<config evaluator="aspect" condition="dac_ds:signable">
      <forms>
         <form>
            <field-visibility>
               <show id="dac_ds:signatory" />
               <show id="dac_ds:signatory_title" />
               <show id="dac_ds:status" />
               <show id="dac_ds:start_time" />
               <show id="dac_ds:complete_time" />
               <show id="dac_ds:signature_flow" />
            </field-visibility>
            <appearance>
               <set id="dac_ds_panel" appearance="panel" label-id="dac.digisig.panel" />
               <field id="dac_ds:signatory" label-id="dac.digisig.signatory" set="dac_ds_panel" />
               <field id="dac_ds:signatory_title" label-id="dac.digisig.title" set="dac_ds_panel"/>
               <field id="dac_ds:status" label-id="dac.digisig.status" set="dac_ds_panel" read-only="true" />
               <field id="dac_ds:start_time" label-id="dac.digisig.start_time" set="dac_ds_panel" read-only="true" />
               <field id="dac_ds:complete_time" label-id="dac.digisig.complete_time" set="dac_ds_panel" read-only="true" />
               <field id="dac_ds:signature_flow" label-id="dac.digisig.signature_flow" set="dac_ds_panel" />
            </appearance>
         </form>

         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="dac_ds:signatory" />
               <show id="dac_ds:signatory_title" />
               <show id="dac_ds:status" />
               <show id="dac_ds:start_time" />
               <show id="dac_ds:complete_time" />
                                        <show id="dac_ds:signature_flow" />
            </field-visibility>
            <appearance>
               <set id="dac_ds_panel" appearance="panel" label-id="dac.digisig.panel" />
               <field id="dac_ds:signatory" label-id="dac.digisig.signatory" set="dac_ds_panel"/>
               <field id="dac_ds:signatory_title" label-id="dac.digisig.title" set="dac_ds_panel" />
               <field id="dac_ds:status" label-id="dac.digisig.status" set="dac_ds_panel" read-only="true" />
               <field id="dac_ds:start_time" label-id="dac.digisig.start_time" set="dac_ds_panel" read-only="true" />
               <field id="dac_ds:complete_time" label-id="dac.digisig.complete_time" set="dac_ds_panel" read-only="true" />
               <field id="dac_ds:signature_flow" label-id="dac.digisig.signature_flow" set="dac_ds_panel" />
            </appearance>
         </form>
      </forms>

   </config>

Outcomes