Viewing Issue Advanced Details Jump to Notes ] << ] >> ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000064 [phpBBGarage] General major always 2008-03-09 06:56 2008-09-26 15:58
Reporter weber View Status public  
Assigned To poyntesm
Priority high Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Fixed in Version 2.0.B4 Product Version 2.0.B3
  Target Version Product Build
Summary 0000064: Modification deletion problem
Description When you delete a modification, Garage deletes it correctly except images associated.
Modification images still remain in db and on a disk but some different vehicle images can be deleted.
Steps To Reproduce
Additional Information Fix:

GARAGE_VEHICLE_GALLERY_TABLE needs to be replaced with GARAGE_MODIFICATION_GALLERY_TABLE in the function delete_modification_image($image_id) in class_garage_image.php

$garage_image->delete_modification_image($images[$i]['id']); needs to be replaced with $garage_image->delete_modification_image($images[$i]['image_id']); in the function delete_modification($mid) in class_garage_modification.php
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000109)
poyntesm (administrator)
2008-09-26 10:50

GARAGE_VEHICLE_GALLERY_TABLE needs to be replaced with GARAGE_MODIFICATION_GALLERY_TABLE in the function delete_modification_image($image_id) in class_garage_image.php

This fix is 100% right

The second I need to double check as I think we delete based of the gallery id not the image id.. I will check.

I think if this is wrong it might be wrong for all image holding types
(0000113)
poyntesm (administrator)
2008-09-26 15:58

WOW.. You win for worst bug left in B3. It was valid for all types including vehicles. Really bad bug, so great find.

Fixed in r552

- Issue History
Date Modified Username Field Change
2008-03-09 06:56 weber New Issue
2008-09-26 10:50 poyntesm Note Added: 0000109
2008-09-26 10:50 poyntesm Assigned To => poyntesm
2008-09-26 10:50 poyntesm Status new => assigned
2008-09-26 10:51 poyntesm Priority normal => high
2008-09-26 15:58 poyntesm Status assigned => resolved
2008-09-26 15:58 poyntesm Fixed in Version => 2.0.B4
2008-09-26 15:58 poyntesm Resolution open => fixed
2008-09-26 15:58 poyntesm Note Added: 0000113
cron