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).
I'm working on a fix for this. It looks like this is caused by the way HTML::Template is called by WebGUI.
Yung
Just a note: this doesn't seem to occur in Safari, but does occur in Firefox and Internet Explorer.
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]
[/quote]
Thanks, i applied your GalleryFile fix to the GalleryAlbum. So this is fixed in 7.5.17.