An unmodified functioning installation of Drupal 4.6.0 on Debian/woody with Apache 2.0.53, PHP-5.0.4 and MySQL 3.23.49...

Two daily containers were defined, with dailies in them. The taxonomy entries used by these were deleted first (probably a bad idea) then under Administer->Content, all the dailies and daily containers were selected and deleted at the same time using Update Options on the same page.

The logs indicate that all the selected were deleted, but the two daily container entries continue to appear in the list. The entries themselves give 404 (also logged) when visited, but can still be edited from Admin->Content. Subsequent attempts to delete them collectively or individually via Administer->Content or Edit then Delete all log as successful, but still leave the entries in the Administer->Content list.

CommentFileSizeAuthor
#3 daily-delete-containers.diff362 bytesFrodo Looijaard

Comments

killes@www.drop.org’s picture

Project: Drupal core » Daily
Version: 4.6.0 » 4.6.x-1.x-dev
Component: node system » Code

Moving to proper project.

Tc27’s picture

Additional, from my content logs:

Deleted daily entries log as: "daily-daily: deleted (name)."
"Deleted" daily_container entries log as: ": deleted (name)."

(I removed the two entries by hand from both the node and daily_container sections of my database. I'm 98% sure I haven't installed the module incorrectly, but not certain.)

Frodo Looijaard’s picture

Assigned: Unassigned » Frodo Looijaard
StatusFileSize
new362 bytes

Thanks for reporting this.

I think I have solved the problem, or at least one of the problems; see the attached patch. Instead of deleting a daily-container, the daily-daily item was deleted.

I want to test some other border-cases first before committing this (for example, what happens if you throw away the taxonomy).

Have fun,
  Frodo

Frodo Looijaard’s picture

Committed to DRUPAL-4-6 and HEAD.

There are still issues when a taxonomy is deleted, but they need more thought. You can at least delete nodes now, even if they do not display nicely anymore.

  Frodo

Anonymous’s picture