Warning if no resources have been created

deviantintegral - July 31, 2008 - 04:08
Project:Resource Conflict
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If you set up everything properly, but don't create any nodes of a resource to be booked, you get a warning on the node edit / add page:

warning: Illegal offset type in /home/drupal5/www/sites/all/modules/resource_conflict/resource_conflict.module on line 223.

If this happens, we should check to see if the current user can create nodes of whatever the referenced types are, and if so, set an error suggesting they create some nodes. If they don't have permission, it should ask them to contact the site email address.

--Andrew

#1

deviantintegral - September 12, 2008 - 17:14
Status:active» fixed

This has been fixed in #139642.

#2

Anonymous (not verified) - September 26, 2008 - 17:21
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.