Menu

#863 Magic Bug 2: Wrap + Grid + Family = Crash

Bug report
open
Davo
Behavior (106)
5
2009-09-24
2009-05-23
deadeye
No

Here's another weird three-part bug I came across. Like the previous magic bug, it requires three different and rather random elements in order to work. Why do I keep finding these? :P

Summary:
Two objects are in a family. They both have Wrap behavior and GridMovement behavior. When you create an action to tell the Grid behavior to move manually, the .cap will crash on startup. (Note that is on startup... not when the event executes.)

If you do just one of the following (and leave the other two) then the .cap will not crash:
- Don't pick by Family
- Remove the Wrap behavior
- Do not have an action that tells the Grid behavior to move

How to recreate:
Open the attached "wrapgridfamilybug.cap" and run it. The .cap will crash immediately. There are extensive notes and comments accompanying the .cap to the point of being annoyingly redundant.

Discussion

  • deadeye

    deadeye - 2009-05-23

    Wrap Grid Family Bug example

     
  • Ashley

    Ashley - 2009-05-23

    Looks like the IDE is exporting the action incorrectly. It is exporting the "Move 1 horizontally" action as an action in the Wrap behavior, and since Wrap doesn't have that action, kablooie.

     
  • Ashley

    Ashley - 2009-07-26
    • assigned_to: nobody --> ashleysbrain
     
  • Ashley

    Ashley - 2009-09-24

    Assigning to Davo because of exporter problem.

     
  • Ashley

    Ashley - 2009-09-24
    • assigned_to: ashleysbrain --> davidclark
     

Log in to post a comment.

MongoDB Logo MongoDB