?
avatar MrBenGriffin
MrBenGriffin
3 Mar 2014

Steps to reproduce the issue

(1) Remove Hathor template. (set Isis to default Admin)
(2) Visit Template Manager: Customise Template

Expected result

A page without notifications of non-objects.

Actual result

Notice: Trying to get property of non-object in /usr/local/zend/apache2/htdocs/administrator/components/com_templates/views/template/view.html.php on line 222

Notice: Trying to get property of non-object in /usr/local/zend/apache2/htdocs/administrator/components/com_templates/views/template/view.html.php on line 249

System information (as much as possible)

J3.2.2 Vanilla

Additional comments

222 could be rewritten:
if ($this->hathor && $this->hathor->home == 0)

249 could be rewritten:
if ($this->hathor && $this->hathor->home == 0)

However, it would be best to eliminate the hard dependancy upon a removable template!

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar MrBenGriffin MrBenGriffin - open - 3 Mar 2014
avatar MrBenGriffin
MrBenGriffin - comment - 3 Mar 2014

I have submitted a pull request.. (#3225)

avatar MrBenGriffin MrBenGriffin - change - 3 Mar 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-03-03 11:41:48
avatar MrBenGriffin MrBenGriffin - close - 3 Mar 2014
avatar MrBenGriffin MrBenGriffin - close - 3 Mar 2014
avatar MrBenGriffin MrBenGriffin - change - 3 Mar 2014
Status Closed New
avatar MrBenGriffin MrBenGriffin - reopen - 3 Mar 2014
avatar MrBenGriffin MrBenGriffin - reopen - 3 Mar 2014
avatar zero-24 zero-24 - close - 3 Mar 2014
avatar Bakual
Bakual - comment - 3 Mar 2014

I'm closing this issue as there is a new one opened together with the PR (this is normal).

avatar Bakual Bakual - change - 3 Mar 2014
Status New Closed
Closed_Date 2014-03-03 11:41:48 2014-03-03 15:02:31
avatar Bakual Bakual - close - 3 Mar 2014
avatar Bakual Bakual - close - 3 Mar 2014
avatar MrBenGriffin
MrBenGriffin - comment - 3 Mar 2014

Thanks Thomas - still new to this...

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
Removed: ? ?

Add a Comment

Login with GitHub to post a comment