Bug 700207 - Error (ERROR_BAD_PARAMETER) : Class ItemDeleteSingleView not defined in core.ItemDeleteSingle
Summary: Error (ERROR_BAD_PARAMETER) : Class ItemDeleteSingleView not defined in core....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gallery2
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-27 18:54 UTC by Egon Kastelijn
Modified: 2012-02-02 14:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 14:43:38 UTC
Type: ---


Attachments (Terms of Use)

Description Egon Kastelijn 2011-04-27 18:54:43 UTC
Description of problem:
An error is produced when an existing (empty) Gallery2 album is deleted.

Version-Release number of selected component (if applicable):
gallery2-2.3.1-2.fc14.noarch

How reproducible:
See steps below

Steps to Reproduce:
1. Install and configure Gallery2
2. Create an album
3. Add some photos to the album
4. Remove de photos from the album
5. Try to delete the empty album
  
Actual results:
Error in the browser:
Error (ERROR_BAD_PARAMETER) : Class ItemDeleteSingleView not defined in core.ItemDeleteSingle

    * in modules/core/classes/GalleryView.class at line 194 (GalleryCoreApi::error)
    * in modules/core/ItemAdmin.inc at line 123 (GalleryView::loadView)
    * in modules/core/classes/GalleryView.class at line 293 (ItemAdminView::loadTemplate)
    * in main.php at line 465 (GalleryView::doLoadTemplate)
    * in main.php at line 104
    * in main.php at line 88

Expected results:
A normal delete of the album

Additional info:
This problem can be fixed.
See this link:
http://sourceforge.net/tracker/?func=detail&aid=2903361&group_id=7130&atid=107130

Quote:
Solution: Copy the missing files
/modules/core/template/ItemDeleteSingle.tpl
/modules/core/template/ItemDeleteConfirmation.tpl
/modules/core/ItemDeleteConfirmation.inc

and also the corrupt file:
/modules/core/ItemDeleteSingle.inc

from an older release to your directory.

Comment 1 Gwyn Ciesla 2012-02-02 14:43:38 UTC
Fedora 14 is End-of-Life, please reopen against a current release if this bug is still occurring.  Thank you!


Note You need to log in before you can comment on or make changes to this bug.