Open STcodes opened 3 months ago
Hi, i tried to reproduce the issue, but it's work for me , need more informations
Hi,
I was able to replicate the issue and it happens only on older modules made with modulebuilder.
At the same time a pop up warning is displayed
Please check placement of start and end comments for Menus section in file modMYMODULEclass.php before submitting your action
As soon as placement of start and end comments is properly adjusted objects are created normally again.
So this is a feature not a bug..
Ok I will tried with older modules and see if we can handle it
Bug
Every time I want to create a new object, it creates an object named MyObject instead of the name entered. This is not the same error as what the other one solved by modifying the ModuleBuilder file. The names of the classes and sql files have no problem but those in these files do. As in the attached example. Even the name of my object displays MyObject.![Capture d’écran (131)](https://github.com/Dolibarr/dolibarr/assets/114098650/b6f39eff-893f-4092-b286-6c1267b2c8b3)
Dolibarr Version
19.0
Environment PHP
8.1
Environment Database
SQL
Steps to reproduce the behavior and expected behavior
No response
Attached files