Actions
Bug #3991
closedDeleting a blog on J3.1.1 causes fatal error
Description
When deleting a blog on J3.1.1 it causes "Null content item key not allowed." fatal error instead of deleting the blog entry.
Actions
Added by krileon over 11 years ago. Updated over 11 years ago.
Description
When deleting a blog on J3.1.1 it causes "Null content item key not allowed." fatal error instead of deleting the blog entry.
Blog still deletes even though error is present. So suppressing errors within Joomla global configuration should appear as if is working normally.
Some reason it needs the ID passed even though it's a loaded content object. Anyway, it now passes the ID with the delete function call to avoid this. This is caused by deleteByContentId call. This is due to Tags being added and the delete function doesn't populate $pk with the current object id if one isn't supplied.