bugGnash - The GNU Flash player - Bugs: bug #22257, loadMovie with GET/POST method...

 
 

bug #22257: loadMovie with GET/POST method sends the wrong variables

Submitted by:  Sandro Santilli <strk>
Submitted on:  Fri 08 Feb 2008 11:36:33 AM UTC  
 
Category: ActionScriptSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 25 Oct 2008 08:31:23 AM UTC, comment #4:

Well, the bug in the summary was fixed anyway, so let's close this...

Sandro Santilli <strk>
Project MemberIn charge of this item.
 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an anonymous
Fri 14 Mar 2008 12:27:45 PM UTC, comment #3:

I meant MovieClip.loadMovie is now implemented and sending
the correct variables...

To still test _level loading.
To still implement POST to window.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 20 Feb 2008 02:47:49 PM UTC, comment #2:

MovieClip.loadMovie is not implemented and send the correct
variables. NOT tested for _level loading.

We also need to fix GETURL with target load (and I guess with
window target too, which would include extending the browser-standalone program protocol to accept POST)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 08 Feb 2008 11:40:32 AM UTC, comment #1:

Actually, our loadMovie currently does NOT send the variables
at all, I was confused by the fact that the URL in my testing
contained a query string already.

Anwyay, when the URL contains a query string, movie variables
should be appended to it, not replace it.

See task #6097 for the bigger picture of missing
support for sending variables.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 08 Feb 2008 11:36:33 AM UTC, original submission:

When calling MovieClip.loadMovie with GET or POST method,
then removing the target movieclip and substituting it with
another one with same name, the expected behaviour is that
the variable sent are the ones of the old movie, not the one,
while the loaded resource will still replace the new one,
not the old movie.

This was tested with the MovieClip.loadMovie method, not
with the GETURL tag, so must test that as well.

To fix this, we'll need movie_root::loadMovie taking
not only a "method" argument, but the actual variables
to send. I added a TODO comment for this in the movie_root::loadMovie method description.

Making automated testing for this will require a running http,
not easy...

Sandro Santilli <strk>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Oct 2008 08:31:23 AM UTCstrkStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Wed 09 Jul 2008 09:52:00 AM UTCstrkAttached File#16045=>Removed
    Wed 09 Jul 2008 07:05:11 AM UTCNoneAttached File-=>Added get_apache_80x15_2.png, #16045
    Mon 17 Mar 2008 11:06:58 AM UTCstrkDependencies-=>Depends on task #5919
    Wed 20 Feb 2008 02:47:49 PM UTCstrkStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1