Ticket #435 (closed defect: fixed)
Prado.CallbackRequest - execution of OnPreDispatch should happen before __postData is set
| Reported by: | cpmoser@… | Owned by: | wei |
|---|---|---|---|
| Priority: | urgent | Milestone: | 3.1 Alpha |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
In Prado.CallbackRequest?.dispatch(), the OnPreDispatch? call should happen before _postData is set so that the OnPreDispatch? call can change Parameter data.
Specifically, this block of code (around line 810 or so in ajax.js) should happen after OnPreDispatch? is called:
//override parameter and postBody options.
Object.extend(this.options,
{
postBody : this._getPostData(),
parameters : ''
});
Forum reference: http://www.pradosoft.com/forum/index.php/topic,5814.0.html
Change History
Note: See
TracTickets for help on using
tickets.
