Dolibarr ERP & CRM » Bugs » bug #691
Broken features in canvasLatest modifications
Answer now
Snapshot Details |
Last Modified On: | 2013-03-06 22:06 | | Submitted by: | Régis Houssin (hregis) |
Submitted on: | 2013-01-15 10:40 | |
Summary: | Broken features in canvas |
Description: | use $this->control->tpl instead $object=$GLOBALS['object'];
while the principle of the canvas and the MVC pattern was broken ! |
Step to reproduce bug: | The content of $GLOBALS['object'] is set by controller (doing a simple $object=...)
And read by presentation template (doing this opposite ...=GLOBALS['object']).
That's what we want to have MVC.
The way parameter are passed has nothing to deal with MVC pattern. You can also pass parameter using session or files, it is still MVC. |
Version: | develop | | Category: | Core Problem |
Severity: | 3 | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Closed | | Assigned to: | Laurent Destailleur (eldy) |
Resolution: | Invalid | |
|
|
Open→ Closed