[opencms-dev] Mapped Properties aren't saved correctly
Mario Jäger
m.jaeger at alkacon.com
Thu Jun 30 09:40:31 CEST 2011
Hi,
How do you set/change the value for the element "Publish" - manually or
in an automatically way? I assume, that you change the value
automatically. How do you store the file after applying the changes? Can
you show some code snippets you use, please?
Kind Regards,
Mario.
Am 16.06.2011 09:21, schrieb Guengoeren at acocon.de:
>
> Hi there,
>
> we're running version 7.5.1 at the moment and expericing some strange issue
> with a custom schema type. The according schema parts
>
> <xsd:sequence>
> <xsd:element name="Publish" type="OpenCmsString" />
> ...
> </xsd:sequence>
>
> <mappings>
> <mapping element="Publish" mapto="property:publishFlag" />
> </mappings>
>
> Nothing special here but sometimes this mapping doesn't seem to work
> correctly, seems like resources run out of sync. If I look at the resource
> properties the property value is shown as: (e.g.) "done" but in edit mode I
> see "will published" in the according field. After a save everythings seems
> to be ok again.
>
> Does somebody else has this kind of problems? Am I facing a known bug?
>
> Regards
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
--
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
More information about the opencms-dev
mailing list