Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Request #20540 Generator mandatory include when extending
Submitted: 2015-05-04 19:12 UTC
From: stijnhau Assigned:
Status: Feedback Package: DB_DataObject (version 1.11.4)
PHP Version: 5.6.8 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2015-05-04 19:12 UTC] stijnhau (Stijn Haulotte)
Description: ------------ When we have our custom dataobjects extens the dbdataobject. The inlcude is set in every DO. But we have an autoload that can handle this. We would like that is we pass $this->databaseDetails['DataObjectConfig']['extends'] = "PssgDataObject"; $this->databaseDetails['DataObjectConfig']['extends_location'] = "'.LIB_DIR.'class/PssgDataObject.php"; The extens_location as null or false that the include isn't added to the DO

Comments

 [2015-05-05 09:35 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Feedback
Can you suggest a patch. Regards Alan
 [2015-05-05 16:23 UTC] stijnhau (Stijn Haulotte)
 [2015-05-05 16:23 UTC] stijnhau (Stijn Haulotte)
Patch file has been created and added
 [2015-05-05 16:49 UTC] alan_k (Alan Knowles)
Can you try the latest version from SVN - it should handle extends_location = (eg. blank) to prevent generation of the require line.
 [2015-05-05 17:27 UTC] stijnhau (Stijn Haulotte)
Didn't test it but looked at the change at it seems perfect. When will there be a new version released (i know yealry release has just happend but if "Bug #20543 Php deprecated warning" get's fixed it has improved a lot(for me/us)