[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #691] Broken features in canvas

From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #691] Broken features in canvas
Date: Wed, 06 Mar 2013 22:05:52 +0100

Is this email not displaying correctly?
update email preferences.

Broken features in canvas

Latest modifications

2013-03-06 22:05 (Europe/Paris)
  • Severity: 

Answer now


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.
Resolution:  Invalid Assigned to:  Laurent Destailleur (eldy)
Status:  Open 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]