Fix rendering of the carousel inside of a Story. Fixes bug #12386

This commit is contained in:
Colin Kuskie 2012-09-20 14:00:57 -07:00
parent 50c7634800
commit e046e5a8ce
8 changed files with 55 additions and 4 deletions

View file

@ -10,6 +10,7 @@
- fixed: UpdateAssetSubscribers workflow activity ERRORs if the group cannot be found.
- fixed: EMS has issues showing badges WITHOUT related badge groups.
- fixed: It's okay to paste assets which are archived, because if you don't they stay in the clipboard forever.
- fixed #12386: Story Manager - Carousel rendering broken in Story
7.10.26
- fixed: Template diagnostics when called without a session asset.

View file

@ -32,6 +32,7 @@ my $session = start(); # this line required
# upgrade functions go here
fixMetaDataRevisionDates($session);
addPhotoHeightToStoryArchive($session);
finish($session); # this line required
@ -91,6 +92,22 @@ sub fixMetaDataRevisionDates {
}
#----------------------------------------------------------------------------
# Describe what our function does
sub addPhotoHeightToStoryArchive {
my $session = shift;
print "\tAdd Photo Height to the Story Manager... " unless $quiet;
# and here's our code
$session->db->write(<<EOSQL);
ALTER TABLE StoryArchive add column photoHeight INT(11);
EOSQL
$session->db->write(<<EOSQL);
UPDATE StoryArchive set photoHeight=300
EOSQL
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
#sub exampleFunction {