0 votes

Hi,

I got a dangerous bug with the last update (2.3.0.1215, Linux). I got the following template that was working ok before the last update.
Now, when I save an entity, It loses it's name and position.

<skipper-configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<orm-configuration name="Doctrine2">
    <element-templates>
        <!-- Module export naming -->
        <template element='module' use-case='create'>
            <module>
                <orm-attributes>
                    <attribute name="file-suffix">without-suffix</attribute>
                    <attribute name="filename-format">entity-name-only</attribute>
                </orm-attributes>
            </module>
        </template>
        <!-- Entity table naming & Repository Class -->
        <template element='entity' use-case='update'>
            <entity>
                <orm-attributes>
                    <attribute name="table">oc_{entity#UL}</attribute>
                    <attribute name="repository-class">Oc\AppBundle\Entity\Repository\{entity#CFU}Repository</attribute>
                </orm-attributes>
            </entity>
        </template>
        <!-- Field column naming -->
        <template element="field" use-case="update">
            <field>
                <orm-attributes>
                    <attribute name="column">{field#UL}</attribute>
                </orm-attributes>
            </field>
        </template>
        <!-- Many to Many Naming -->
        <template element='many-to-many' use-case='create'>
            <many-to-many caption="{entity-inverse#CFU} has {entity-owner#CFU}s" mn-entity="{entity-inverse#CFU}{entity-owner#CFU}">
                <many-to-many-entity owning-side="true" alias="{entity-owner#CFL}s"/>
                <many-to-many-entity owning-side="false" alias="{entity-inverse#CFL}s"/>
            </many-to-many>
        </template>
    </element-templates>
</orm-configuration>

in Solved by (320 points)
recategorized by

2 Answers

0 votes
Best answer

Bug is fixed in latest beta: http://support.skipper18.com/402/downloads-skipper-beta

Please test it and let me know.

by Skipper developer (141k points)
selected by

Thanks!

Hi!

The entities still loose their position on save.

Hi, can you please describe more in details how to replicate this issue? Some screencast video would be great.

And which version are you trying? 3.2.0.1219? http://www.skipper18.com/en/download

0 votes

Thanks for report. We're able to replicate it here. I will let you know when fix will be ready

by Skipper developer (141k points)
reshown by