Doctrine Attributes dublicating skipper beta

0 votes
asked Aug 1, 2022 in Bug report by kadirozen (120 points)

After exporting doctrine schemas adding redundant ORM attribute. See below;
#[ORM, ORM, ORM, ORM, ORM, ORM, ORM\Id, ORM\Column(type: "integer"), ORM\GeneratedValue(strategy: "AUTO")] private ?int $id = null;

it repeats adding ORM any time export.

#[ORM, ORM]
#[ORM, ORM, ORM]
#[ORM, ORM\Id, ORM\Column(type: "integer"), ORM\GeneratedValue(strategy: "AUTO")]
private $id;
commented Aug 1, 2022 by ludek.vodicka Skipper developer (140,450 points)

Thanks for the report. It has to be something in the PHP file that breaks the export.

Can you please send us some demo project and demo PHP file where we can replicate this issue?

Please send it to [email protected]

Thanks

1 Answer

0 votes
answered Aug 1, 2022 by ludek.vodicka Skipper developer (140,450 points)

Thanks again for the reporting and example project. This bug is now fixed in the latest beta here:

https://www.skipper18.com/support/402/downloads-skipper-beta

Please test it and let me know if you find anything else.

Thanks

commented Aug 2, 2022 by kadirozen (120 points)

hi ludek,

I give it try and exporting issue fixed. I tried several times with different scenarios.

As i mentioned in email when i import php entity file generated manually with attributes it does not import field types. I am sending you sample entity and skipper project file.

Thanks quick fix.

...