Applying a template to itself should be illegal - currently results in js stack overflow

Bug #141200 reported by Charles Goodwin
2
Affects Status Importance Assigned to Milestone
Vexi
Confirmed
Wishlist
Charles Goodwin

Bug Description

If a user accidentally applies a template to itself we should probably give an explicity error stating it is illegal.

Currently if you apply a template to itself, running Vexi gives output like the following:
         Scheduler: A JavaScript thread spawned with vexi.thread threw an exception:
                    JSExn: stack overflow
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        at org.vexi.lib.widget.separator:8(apply)
                        ... and 492 more

Changed in vexi:
assignee: nobody → mike-goodwin
importance: Undecided → Wishlist
Changed in vexi:
assignee: mike-goodwin → charlesgoodwin
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.