Views supports to analyze your views for certain common configuration problems,
though the actual output looks broken see attached screenshot.

I guess this can be solved using some css or adding additional classes.
In the attachment you can find a view, which fails on analyze, so it's easy to reproduce.

CommentFileSizeAuthor
#5 1533486.patch426 bytesdawehner
#3 1533486.patch425 bytesAnonymous (not verified)
#2 1533486.patch425 bytesdawehner
#1 views-1533486-analysis_warning_messages.patch1.6 KBAnonymous (not verified)
analyze.view_.txt1.49 KBdawehner
analyze-bug.png40.41 KBdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Status: Active » Needs review
FileSize
1.6 KB

I fixed this issue by adding a "messages" class in two places.

dawehner’s picture

FileSize
425 bytes

Thanks for the patch, it really helps, though the approach seems to be a bit unflexible.

Analyzing of views can be implemented by any kind of module, so it should be added to all of them.
what about a patch like this? It would be cool if you test the patch.

Anonymous’s picture

FileSize
425 bytes

I like your method better but the class is messages not message. I just updated your patch and reposted.

Status: Needs review » Needs work

The last submitted patch, 1533486.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
426 bytes

Oh i see, this patch should work again.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Thanks. Thought I could just add the s. Lesson learned.

That one works.

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

Thanks again, committed the patch to 7.x-3.x

You have now a commit in views: http://drupal.org/node/38878/commits

Automatically closed -- issue fixed for 2 weeks with no activity.