AnsweredAssumed Answered

doclib2 boolean property behaviuor

Question asked by federicotarantino on Jan 30, 2013
Latest reply on Feb 28, 2013 by federicotarantino
Hi,
I am migrating a software from 4.0 to 4.2.
In my model i have a properties:

<property name="my:example">
   <title>example</title>
   <type>d:boolean</type>
</property>


I create a custom renderer in share where i read "my:example" property value.
In "record.node.properties" i have:

ALFRESCO 4.0.e

properties: {
   "my:example":true
}


ALFRESCO 4.2.c

properties: {
   "my:example":"true"
}


I write many "if" where i check "my:example" value and in alfresco 4.2 my software behavior is wrong.
I see that the difference is in a webscript: "/slingshot/doclib2/node".
Is it a bug? Or a desired change?

I need to know this because I must migrate my software correctly.

Thanks
             Federico Tarantino

Outcomes