Skip to content

move_to_page moves to an incorrect page #186

@HolgerGerhardt

Description

@HolgerGerhardt

This can be tested with the following simple code:

class P1(Page):
    @classmethod
    def after_once(page, player):
        move_to_page(player, P3)

class P2(Page):
    pass

class P3(Page):
    pass

class P4(Page):
    @classmethod
    def after_once(page, player):
        move_to_page(player, P6)

class P5(Page):
    pass

class P6(Page):
    pass


page_order = [
    P1,
    P2,
    P3,
    P4,
    P5,
    P6,
]

Instead of moving to P3 from P1, one is forwarded to P4. From there, one is forwarded to End.html rather than P6.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcritical-for-v1We need this fixed for the first release

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions