Bug #3795

Arguments in AbstractController are not cleared after forward

Added by Christopher Hlubek over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
MVC
Start date:
2009-06-29
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

The arguments object is created in the constructor of the AbstractController class. After a forward the existing controller will be reused (controller is a singleton) and the old arguments object will be used. This leads to strange validation errors for argument mapping.

#1

Updated by Christopher Hlubek over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2659.

#2

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from Resolved to Accepted
  • Assignee set to Karsten Dambekalns
  • % Done changed from 100 to 0

The fix in r2659 breaks REST controllers, maybe more. I'll check.

#3

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2675.

Also available in: Atom PDF