Dolibarr ERP & CRM » Bugs » bug #691
Broken features in canvasLatest modifications
Answer now
Snapshot Details |
Submitted by: | Régis Houssin (hregis) | | Submitted on: | 2013-01-15 10:40 |
Last Modified On: | 2013-01-19 15:03 | | Dolibarr version: | develop |
PHP version: | | | Database type and version: | |
OS Type/Version: | | | Category: | Core problem |
Severity: | 3 | |
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. |
Status |
Resolution: | Invalid | | Assigned to: | Laurent Destailleur (eldy) |
Status: | Open | |
|
|
7→ 3