Hello,
I made a new version of VX.XX and I would like to create a specific project as a test name.
I wanted to create in the maintenance.php in a state file (if ($ currVersion <"VX.XX") ...) and I made a new project and I filled out the name, custid, idle , idUser, doneidProjectType, codeType, idstatus and finally I called the save function.
Only when I go to see if the project was created, I find not.
There is a field that I have not met that prevents its creation?
There is another way to create the project (always in coding)?
Hi,
It seems you did it the right way.
To really know what is happening, replace
$project->save();
with
debugLog($project->save());
You will then have result in log file, and will know why insert did not work.
Ok Thanks