Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MojoMojo CPAN distribution.

Report information
The Basics
Id: 45633
Status: resolved
Priority: 0/
Queue: MojoMojo

People
Owner: Nobody in particular
Requestors: DAKKAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.999028
Fixed in: (no value)



Subject: a whitespace-only photo description is impossible to change
root/base/gallery/photo.tt contains: <p id="description" >[% photo.description||loc('no description') %]<p> If photo.description contains only whitespaces, the p element ends up practically invisible and unclickable (don't ask me how the description ended up consisting only of whitespaces: it came out of the camera like that). I changed it to: <p id="description" >[%photo.description.remove('^\s+$')||loc('no description')%]<p> so at least in this case we can change the description.
Show quoted text
> <p id="description" >[%photo.description.remove('^\s+$')||loc('no > description')%]<p>
Good catch. I applied your patch at http://bit.ly/1O54F We are moving the bug tracking to GitHub - would be great if future issues were submitted there: http://github.com/marcusramberg/mojomojo/issues
Fixed in trunk by SHA1-ee823d3