PHPMaker v2025 with the latest template: 25.12.20.
Why I cannot implement Soft Delete for my users table (the one that will be used to authenticate user login)?
I got the following error message: D:\wamp\www\cba2025\vendor\doctrine\orm\src\Mapping\MappingException.php(121): No mapping found for field 'Tanggal_Hapus' on class 'PHPMaker2025\cba2025\Entity\User'.
I have setup all the necessary option under Table option → Delete Page for that users table:
Delete: enabled
Inline-Delete (Modal dialog): enabled
Soft delete field: Tanggal_Hapus
Hard delete (for soft delete): enabled
Time aware (for soft delete): enabled
The strange thing is, I created a Database View inside the same database that based on the single users table, and implement Soft Delete for that View, and it works properly.
The Soft Delete is working properly for other tables (including Database View that cloning the users table), but not for the users table itself.
I did you suggested above, but it does not work, either.
Here is the error message: D:\wamp\www\cba2025\vendor\doctrine\orm\src\Mapping\MappingException.php(121): No mapping found for field ‘tanggalHapus’ on class ‘PHPMaker2025\cba2025\Entity\User’.
But, if I changed tanggalHapus to TanggalHapus, then it works. The error is gone.