Notice: Undefined property: stdClass::$path in include() (line 29 of ..../modules/contrib/views/theme/views-ui-list-views.tpl.php).
changed the if statements that were detecting wether fields were defined to use if (!empty($var))
also removed the file's closing ?> as its not necessary.
Patch attached for your review

Comments

dagmar’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Needs work

ehem

-<?php endforeach; ?>
+<?php endforeach;

Is it just me that this is wrong? :)

chrisns’s picture

chrisns’s picture

Status: Needs work » Needs review
dagmar’s picture

Status: Needs review » Needs work

For consistence with other views templates, you should add the missing ?>

dawehner’s picture

The ?> at the end is there for template files.

You are right: for module files/template.php , there should be no ?> at the end.

merlinofchaos’s picture

It should not be possible for any of those variables to be unset.

In thousands of installations, I have never seen or heard of notices on those. I am concerned that there is something else wrong there that is causing them for you, but the code that sets up that template very carefully sets all of those values in all cases.

vectoroc’s picture

same issue.
I installed simpletest and got this problem

kriskhaira’s picture

I was getting this error too on Views 6.x-3.x-dev but the patch worked for me.

dawehner’s picture

Do you understand why this variables are totally empty?

They are initialized all in template_preprocess_views_ui_list_views
I think the template should be as simple as possible.

k4v’s picture

Status: Needs work » Postponed (maintainer needs more info)

I'm setting the status to postponed, please reopen the bug and provide more info on how to reproduce this issue.

k4v’s picture

Issue tags: +dvcs11

edit tag

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)