When I create simple view of one page with style "Atom Feed - Fields" chosen I get a 500 error. And the following in the apache error log.

PHP Fatal error: Cannot access empty property in /drupal-6.19/sites/all/modules/views_atom/views_atom.theme.inc on line 49

Comments

btmash’s picture

I was running into the same issue and when I tracked it down in the theme file, the file is basically asking for a 'last updated' date. So your view firstly has to provide the last updated date as one of the fields and in the 'Atom Feed - Fields' style settings, you have to specify the last updated date field in the 'updated' field inside the 'field usage' fieldset.

I'm not entirely sure if that can be chalked up as a bug though it definitely requires documentation.

hefox’s picture

It should handle it gracefully, for example by providing an error message like various others do (field displays needing fields, draggable views needing order field, etc).

hefox’s picture

Status: Active » Fixed

http://drupal.org/cvs?commit=472206

Added a validation for required fields and some checking if update field i set.

I believe this should take care of the error.

Status: Fixed » Closed (fixed)

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