plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Gallery: Description Text appearing in Album  (#3894)
Issue

In a Gallery asset I created two albums. In the Edit Album screen I gave them titles, but left the Description fields blank. Upon saving the albums, WebGUI took the text entered in the Gallery asset's Description field, and displayed it in the Album's description field in the Gallery main view. Upon editing the album, the description field is still blank. Screenshot attached. You can see this occurring in the two albums on the right (Zip Test and New Album).

Solution Summary
Comments
yhkhoe
0
7/9/2008 6:36 pm

I'm working on a fix for this. It looks like this is caused by the way HTML::Template is called by WebGUI.

Yung

tabb
0
7/11/2008 6:30 pm

 Just a note: this doesn't seem to occur in Safari, but does occur in Firefox and Internet Explorer. 

preaction
0
7/11/2008 10:39 pm

This has to do with the way that HTML::Template handles scoping. If a hash key exists but is undefined, it will try to find something that is defined.

All that's necessary is to make sure if the description for the GalleryAlbum is undefined, that the template variable is set to the empty string ("").

I might've fixed this for GalleryFile but not GalleryAlbum. See lib/WebGUI/Asset/File/GalleryFile.pm line 464.

It's not a browser issue though. 

yhkhoe
0
7/12/2008 12:38 pm

[quote]

This has to do with the way that HTML::Template handles scoping. If a hash key exists but is undefined, it will try to find something that is defined.

All that's necessary is to make sure if the description for the GalleryAlbum is undefined, that the template variable is set to the empty string ("").

I might've fixed this for GalleryFile but not GalleryAlbum. See lib/WebGUI/Asset/File/GalleryFile.pm line 464.

It's not a browser issue though. 

[/quote]

Thanks, i applied your GalleryFile fix to the GalleryAlbum. So this is fixed in 7.5.17.

Details
Ticket Status Closed  
Rating0.0 
Submitted Bykristi 
Date Submitted2008-06-20 
Assigned To unassigned  
Date Assigned2010-09-02 
Assigned By 
Severity Critical (mostly not working)  
What's the bug in? WebGUI Beta  
WebGUI / WRE Version 7.5.13  
URLbugs/tracker/gallery-description-text-appearing-in-album
Keywords
Related Files
Ticket History
© 2010 Plain Black Corporation | All Rights Reserved