GLMAction>>shortcutAsString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GLMAction>>shortcutAsString

Ben Coman

Some time ago I hit a problem due to GLMAction>>shortcutAsString
sometimes returning nil.
I fixed this by appending --- ifNil: [ '' ] --- to the method, and then
moved on, so sorry I have no record of the context the problem occurred in.
I just noticed this again now clearing out Monticello of changes and
thought I should report it.

cheers -ben

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GLMAction>>shortcutAsString

Tudor Girba-2
Hi,

Thanks for the note.

A shortcut can be nil when you do not have one for an action :). The case is captured in GLMAction>>testShortcutAsString.

Cheers,
Doru


On Jan 13, 2013, at 6:31 AM, Ben Coman <[hidden email]> wrote:

>
> Some time ago I hit a problem due to GLMAction>>shortcutAsString sometimes returning nil.
> I fixed this by appending --- ifNil: [ '' ] --- to the method, and then moved on, so sorry I have no record of the context the problem occurred in.
> I just noticed this again now clearing out Monticello of changes and thought I should report it.
>
> cheers -ben
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"No matter how many recipes we know, we still value a chef."







_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev