[Implemented] Gedmo Timestampable: NULL values

0 votes
asked Oct 19, 2016 in Solved by jwagner (3,630 points)
recategorized Nov 22, 2016 by ludek.vodicka

ORM Designer version 3.2.7.1338, MVC: Symfony3, ORM: Doctrine2

When I use the Gedmo Timestampable extension, I want to be able to declare NULL values on the value field. Currently this is either omitted completely or exported as a string.

enter image description here

Current output:

* @Gedmo\Timestampable(on="change", field="aktivierungstoken", value="null")

Expected output:

* @Gedmo\Timestampable(on="change", field="aktivierungstoken", value=null)
commented Oct 19, 2016 by ludek.vodicka Skipper developer (140,450 points)

Thanks for info. This should be easy to fix. We will add exception for word "null" so it will be exported like value and not string.

1 Answer

0 votes
answered Nov 21, 2016 by ludek.vodicka Skipper developer (140,450 points)
selected Nov 22, 2016 by jwagner
 
Best answer

Hi Jorn,

this issue is solved in latest beta: http://support.skipper18.com/402/downloads-skipper-beta

Please let me know if it works for your case too

Ludek

commented Nov 22, 2016 by jwagner (3,630 points)

Confirmed. Value is exported as null without quotation marks.

...