[etoys-notify] [JIRA] Commented: (SQ-1146) Morph hidden in flap: MessageNotUnderstood: Array>>justGrabbedFromViewer

Karl Ramberg (JIRA) tracker at squeakland.org
Sat Feb 23 15:55:17 EST 2013


    [ http://tracker.squeakland.org/browse/SQ-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40925#action_40925 ] 

Karl Ramberg commented on SQ-1146:
----------------------------------

The bug is from this line in method:
CategoryViewer>>booleanPhraseFromPhrase: phrase 

...
((scriptedPlayer respondsTo: #costume) 
		and:[scriptedPlayer costume isInWorld not]) ifTrue: [^ Array new].
...

I'm really not sure why this method should return Array new ?

Commenting this line out to make the bug go away.
I'm not sure if its the right thing to do though.

> Morph hidden in flap: MessageNotUnderstood: Array>>justGrabbedFromViewer
> ------------------------------------------------------------------------
>
>                 Key: SQ-1146
>                 URL: http://tracker.squeakland.org/browse/SQ-1146
>             Project: squeakland
>          Issue Type: Bug
>            Reporter: Markus Schlager
>
> Etoys-to-go 5.0#2406
> A morph hidden in a closed flap cannot be scripted.
> Steps to reproduce:
> - choose any morph
> - open it's viewer
> - create a 'script1' containing a test-tile
> - put the morph inside a flap
> - close the flap
> - try to create a new script by dragging any tile into the world
> -> the tile remains a tile, no script-editor opens
> - try to put a tile like x, y, direction,... as test into the test-tile of script1
> -> the error 'MessageNotUnderstood: Array>>justGrabbedFromViewer' appears
> there isn't any problem with the flap open

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list