Ticket #312 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Uncaught exception on photo delete

Reported by: bergie Assigned to: bergie
Priority: major Milestone: 8.09.0 Ragnaroek
Component: Midgard PHP Version: 8.09 Ragnaroek
Keywords: Cc:

Description

Photo deletion causes the following:

Fatal error: Uncaught exception 'midgard_error_exception' with message 'Invalid property value.' in /var/cache/midgard/midcom/phpscripts/midcom.dba-org.routamc.photostream-midcom_dba_classes.inc.php:85 Stack trace: #0 /var/cache/midgard/midcom/phpscripts/midcom.dba-org.routamc.photostream-midcom_dba_classes.inc.php(85): org_routamc_photostream_photo->delete() #1 /usr/share/php/midcom/lib/midcom/baseclasses/core/dbobject.php(549): __org_routamc_photostream_photo_dba->__exec_delete() #2 /var/cache/midgard/midcom/phpscripts/midcom.dba-org.routamc.photostream-midcom_dba_classes.inc.php(98): midcom_baseclasses_core_dbobject->delete(Object(org_routamc_photostream_photo_dba)) #3 /usr/share/php/midcom/lib/org/routamc/photostream/handler/admin.php(268): __org_routamc_photostream_photo_dba->delete() #4 /usr/share/php/midcom/lib/midcom/baseclasses/components/request.php(674): org_routamc_photostream_handler_admin->_handler_delete('delete', Array, Array) #5 /usr/share/php/midcom/lib/midcom/baseclasses/components/interface.php(580): m in /var/cache/midgard/midcom/phpscripts/midcom.dba-org.routamc.photostream-midcom_dba_classes.inc.php on line 85

Change History

10/02/08 14:38:34 changed by bergie

  • status changed from new to assigned.

Now the exception is caught via the deletion handler, so user gets nicer error message. Still need investigation on where the exception is raised and why. DBA is suspected.

10/06/08 13:24:10 changed by bergie

http://friendpaste.com/BE48ZwZW has a backtrace related to this.

10/06/08 14:11:05 changed by bergie

Seems that this may be fixed by r17968

10/09/08 13:28:31 changed by bergie

(In [18066]) Try to work around the effects of the SIGABORT, refs #312

10/13/08 10:56:20 changed by bergie

  • milestone changed from 8.09 Ragnaroek to 8.09.2 Ragnaroek.

10/13/08 12:37:00 changed by bergie

  • status changed from assigned to closed.
  • resolution set to fixed.
  • component changed from MidCOM component to Midgard PHP.
  • milestone changed from 8.09.2 Ragnaroek to 8.09 Ragnaroek.

This has been fixed in Midgard 8.09.0 final.