6.0.0-alpha12
6/8/25

[#14028] Fatal Error when mobile view is selected
Summary Fatal Error when mobile view is selected
Queue Ansel
Queue Version 3.0.2
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester horde (at) subharmonics (dot) com
Created 06/25/2015 (3636 days ago)
Due
Updated 06/26/2015 (3635 days ago)
Assigned 06/26/2015 (3635 days ago)
Resolved 06/26/2015 (3635 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/26/2015 12:34:54 AM Michael Rubinsky Comment #4
State ⇒ Resolved
Reply to this comment
Fixed for Ansel 3.0.3
06/26/2015 12:21:25 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 46a810fcbccd061144937f5f8d35f7bd14037baa
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu Jun 25 20:18:03 2015 -0400

     Bug: 14028 Fix generating thubnails for keyimages in mobile view.

  ansel/lib/Gallery.php        |   61 ++++++++++++++++++++++++-----------------
  ansel/lib/Image.php          |    2 +-
  ansel/lib/ImageGenerator.php |    4 +-
  3 files changed, 39 insertions(+), 28 deletions(-)

http://github.com/horde/horde/commit/46a810fcbccd061144937f5f8d35f7bd14037baa
06/26/2015 12:19:20 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 74365642303894254bd8a8539837991e3457d92c
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu Jun 25 20:18:03 2015 -0400

     Bug: 14028 Fix generating thubnails for keyimages in mobile view.

  ansel/lib/Gallery.php        |   61 ++++++++++++++++++++++++-----------------
  ansel/lib/Image.php          |    2 +-
  ansel/lib/ImageGenerator.php |    4 +-
  3 files changed, 39 insertions(+), 28 deletions(-)

http://github.com/horde/horde/commit/74365642303894254bd8a8539837991e3457d92c
06/26/2015 12:19:00 AM Michael Rubinsky State ⇒ Assigned
Priority ⇒ 2. Medium
Assigned to Michael Rubinsky
 
06/25/2015 03:02:16 PM horde (at) subharmonics (dot) com Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Fatal Error when mobile view is selected
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
HORDE: [ansel] Call to a member function addEffect() on null [pid 5120 
on line 42 of 
"/var/lib/apache/htdocs/horde/ansel/lib/ImageGenerator/SquareThumb.php

The error is from selecting SquareThumb as the thumbstyle in either 
mobile or normal view. SquareThumb is the default mobile view 
thumbstyle. I've worked around the issue by picking another 
thumbstyle, Thumb.

Saved Queries