Forum OpenACS Development: Re: Deleting a photo in photo album gives error

Collapse
Posted by Gustaf Neumann on
Ashwin,

this message means that you are trying to delete an acs_object , where there is another object with an context_id referencing it. try

select * from acs_objects where context_id = 9384

to locate the object. did you insert the items to the photo album programmatically or are you use using the web interface?

I have noticed a similar problem with xowiki, which was caused by a property of the content_item__new sql function, that creates revision items by its own, when either "data" or "text" or "title" are provided by the call.

When you are just using the web-interface, this might be a bug in photo-album (which i don't know).