Bug 700207

Summary: Error (ERROR_BAD_PARAMETER) : Class ItemDeleteSingleView not defined in core.ItemDeleteSingle
Product: [Fedora] Fedora Reporter: Egon Kastelijn <redhat2>
Component: gallery2Assignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 14:43:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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!