When you open some view in administration which is based on JViewLegacy (external component views), it does not load data from model
Data from model are loaded.
Joomla! 4.0.0-alpha6 - everything works as expected.
Joomla! 4.0.0-alpha7-dev - data are not loaded.
You can test it with some external component view or build your own:
jimport( 'joomla.application.component.view' );
class SomeView extends JViewLegacy
{
protected $state;
function display($tpl = null) {
$this->state = $this->get('State');
dump($this->state);
}
}
but in Alpha7 (latest build created by composer/npm):
Data from model are not loaded at all
Joomla! 4.0.0-alpha6 - works OK
Joomla! 4.0.0-alpha7-dev (latest build created by composer/npm) - data are not loaded.
Joomla! Version | 4.0.0-alpha7-dev |
---|---|
PHP Version | 7.2.4 |
Identity | user |
Response | 200 |
Template | atum |
Database | ServermysqlVersion5.5.5-10.2.6-MariaDBCollationutf8mb4_unicode_ciConn Collationutf8_general_ci |
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-01-12 21:44:01 |
Closed_By | ⇒ | wilsonge |
maybe this is the same i have this bug
An error has occurred.
Call to a member function getName() on boolean
| Function | Location
1 | () | JROOT\libraries\src\MVC\View\AbstractView.php:189