Transition-button dies badly if the transition isn't allowed
Reported by Matt Jones | February 2nd, 2010 @ 08:56 PM | in Hobo 1.1
If the transition specified in transition-button isn't available, the code crashes. It's easy enough for simple conditions to just avoid calling the tag, but this should be dealt with in general.
The only question is: should we produce a disabled button_to or just drop the tag entirely and set last_if to false?
Comments and changes to this ticket
-
Bryan Larsen February 19th, 2010 @ 06:35 PM
- Milestone changed from Hobo 1.0 - Final to Hobo 1.1
- State changed from new to open
I vote for setting last_if, if it's properly documented, which I will make sure happens.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป