Ticket #126 (new task)

Opened 2 years ago

Last modified 1 year ago

Duplicate auto-create?

Reported by: dom Assigned to: Nobody
Priority: normal Milestone:
Component: oxford.openguides.org Version:
Severity: normal Keywords:
Cc:

Change History

06/17/06 22:26:32 changed by ivorw

This looks like it could be a database problem. The auto_create code checks categories and locales prior existence using node_exists (OpenGuides.pm lines 951-973).

It looks as if in this case, node_exists gave a false negative. This sub is in Wiki::Toolkit::Store::Database, and seems to be taking the row count returned from a query. When the node does not exist, no rows are returned from the query, and this zero value is read as false.

If there were some database error, I would have expected DBI or the driver module to throw an exception, as we have got RaiseError? set to 1.

Maybe there is some DB admin overdue on Oxford.

06/07/07 19:58:57 changed by dom

  • owner changed from dom to Nobody.