Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: commits

[8564] fix bug 1458, related media that failed to thumbnail caused Story

 

 

Bricolage commits RSS feed   Index | Next | Previous | View Threaded


slanning at bricolage

Apr 8, 2009, 1:19 AM

Post #1 of 1 (894 views)
Permalink
[8564] fix bug 1458, related media that failed to thumbnail caused Story

Revision: 8564
Author: slanning
Date: 2009-04-08 01:19:09 -0700 (Wed, 08 Apr 2009)
ViewCVS: http://viewsvn.bricolage.cc/?rev=8564&view=rev

Log Message:
-----------
fix bug 1458, related media that failed to thumbnail caused Story Profile error

Bugzilla Links:
--------------
http://bugs.bricolage.cc/show_bug.cgi?id=1458

Modified Paths:
--------------
bricolage/trunk/comp/widgets/container_prof/_related.html
bricolage/trunk/lib/Bric/Changes.pod

Modified: bricolage/trunk/comp/widgets/container_prof/_related.html
===================================================================
--- bricolage/trunk/comp/widgets/container_prof/_related.html 2009-04-07 20:11:51 UTC (rev 8563)
+++ bricolage/trunk/comp/widgets/container_prof/_related.html 2009-04-08 08:19:09 UTC (rev 8564)
@@ -43,7 +43,8 @@

my $thumb = '';
if (USE_THUMBNAILS && $type ne 'story') {
- if ($thumb = $rel->thumbnail_uri) {
+ $thumb = eval { $rel->thumbnail_uri };
+ if (! $@ && $thumb) {
$thumb = $m->comp(
'/widgets/profile/preview_link.mc',
doc => $rel,

Modified: bricolage/trunk/lib/Bric/Changes.pod
===================================================================
--- bricolage/trunk/lib/Bric/Changes.pod 2009-04-07 20:11:51 UTC (rev 8563)
+++ bricolage/trunk/lib/Bric/Changes.pod 2009-04-08 08:19:09 UTC (rev 8564)
@@ -457,6 +457,11 @@

Fixed the category autocomplete z-index issue in IE. [Adrian Yee]

+=item *
+
+Fixed bug 1458, where related media that failed to be thumbnailed caused the
+Story Profile to error. [Scott]
+
=back

=head1 VERSION 1.11.1 (2008-10-03)

Bricolage commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.