Ticket #435 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by xue

  • owner changed from xue to wei
  • milestone set to 3.1.0

Changed 2 years ago by wei

  • status changed from new to closed
  • resolution set to fixed

Post data is now collected just before a request is made.

Note: See TracTickets for help on using tickets.