[FLOW3-general] Unable to persist PublishingConfiguration of resource
Thomas Heilmann
heilmann at mindscreen.de
Fri Dec 23 22:08:52 CET 2011
Hi Andi,
thanks for the feedback, I opened an issue:
http://forge.typo3.org/issues/32826
I haven't signed the CLA yet. I'll do this in January and try to
contribute. :)
Happy holidays!
Thomas
Am 22.12.2011 15:07, schrieb Andreas Förthner:
> Hi Thomas,
>
> I think this is just one feature nobody used yet since the doctrine
> integration. Could you open an issue for this? I would say it is a bug! I
> think we would have to introduce some abstract publishing configuration
> and use this class in the annotation instead of the interface. If you like
> you can even push a change to gerrit, given you have the CLA signed ;-)
>
> Thanks and happy christmas!
>
> Greets Andi
>
> Am 22.12.11 14:51 schrieb "Thomas Heilmann" unter <heilmann at mindscreen.de>:
>
>> Hi all,
>>
>> I am working on my first FLOW3 project and I am really happy with it! So
>> first of all: Thanks for all the great work! :)
>>
>> At the moment I am trying to set a SecurityPublishingConfiguration as
>> publishing configuration for private resources. Everything seems to work
>> fine, I can change and persist other properties of the resource, but the
>> related publishing configuration does not get persisted. I tried it with
>> 1.0.1 and 1.0.2.
>>
>> The problem seems to be the ORM of the resource class. If I change the
>> publishingConfiguration @var annotation from the interface to
>> SecurityPublishingConfiguration and add the @ORM\OneToOne annotation,
>> everything works as expected. Otherwise, the column
>> "publishingconfiguration" in the resource-table is not even created in
>> the database.
>>
>> As I said -- it's my first FLOW3 project, so perhaps I am missing
>> something.
>>
>> Thanks for your help -- and merry christmas.
>> Thomas
>>
More information about the FLOW3-general
mailing list