Project

General

Profile

Actions

Bug #3991

closed

Deleting a blog on J3.1.1 causes fatal error

Added by krileon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02 May 2013
Due date:
% Done:

100%

Estimated time:

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.

https://www.joomlapolis.com/forum/153-professional-member-support/221030-deleting-blog-entry-produces-error-page

Actions #1

Updated by krileon over 11 years ago

Blog still deletes even though error is present. So suppressing errors within Joomla global configuration should appear as if is working normally.

Actions #2

Updated by krileon over 11 years ago

  • Target version set to 4.1.0
Actions #3

Updated by krileon over 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

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.

Actions #4

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF