-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Notice when JModelList call getFilterForm before populating model state #10416
Description
Steps to reproduce the issue
Edit file: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_content/views/articles/view.html.php#L43
Move $this->filterForm = $this->get('FilterForm');
before $this->items = $this->get('Items');
Administrator side:
Configuration > Error Reporting: System default or Maximum or Development
Then Articles listing
Will throw:
Notice: Undefined property: JObject::$list.direction in PathTo\Joomla_3_5_1\libraries\legacy\model\list.php on line 453
Notice: Undefined property: JObject::$list.limit in PathTo\Joomla_3_5_1\libraries\legacy\model\list.php on line 454
Notice: Undefined property: JObject::$list.ordering in PathTo\Joomla_3_5_1\libraries\legacy\model\list.php on line 455
Notice: Undefined property: JObject::$list.start in PathTo\Joomla_3_5_1\libraries\legacy\model\list.php on line 456
System information (as much as possible)
Joomla 3.5.1