Questions tagged [gedmo-loggable]

21 questions
0
votes
0 answers

Class LogEntry not found

In my app developed with Symfony 4.2 and API Platform, I install DoctrineExtensions bundle to use Loggable extension, and I follow instructions in Symfony documentation and Loggable extension. When I only use one EntityManager, everything works. But…
Marc Diaz
  • 11
  • 3
0
votes
0 answers

Add extra option to LoggableListener

I use Loggable to backup changes in Entities. The default AbstractLogEntry does not have enough columns for my needs. Thats why i extended the class and added extra getters and setters. See the code below /** * EmployeeBackup * *…
Puya Sarmidani
  • 1,226
  • 9
  • 26
0
votes
1 answer

Symfony2: EasyAdminbundle + StofDoctrineExtensionsBundle + VichUploaderBundle

I have a project using EasyAdminBundle for administration. In one Entity called "Post" I have the fields "title", "image" and "post" which I would like to track about changes. The property "image" only stores the filename of the image - the full…
0
votes
0 answers

Class "Gedmo\Loggable\Entity\LogEntry" sis not a valid entity or mapped super class

I try to use Gedmo Loggable extensions for Doctrine2 but I got an error and I didn't understand why. I got the error Fatal error: Uncaught Doctrine\ORM\Mapping\MappingException: Class "Gedmo\Loggable\Entity\LogEntry" sub class of …
-1
votes
1 answer

Is there a replacement for the Doctrine Gedmo-Extension (Timestampable, Softdeletable ...) in Symfony 5?

With prior versions of Symfony (<5), it was possible to automatically populate DateTime-fields on creation or when updating existing entries. Example: /** * @var \DateTime $createdAt * @Gedmo\Timestampable(on="create") *…
Timor Kodal
  • 324
  • 3
  • 7
-1
votes
1 answer

How to use slug with A2lix?

I don't understand how to set up the slug with A2lix. Can someone tell me the procedure or a tutorial that could help me? This would be very nice. I try to use @Gedmo\Slug, but I don't know how to make the route with slug data into the controller. I…
1
2