bugGnash - The GNU Flash player - Bugs: bug #22024, new String() returns...

 
 

bug #22024: new String() returns "[object]"

Submitted by:  Udo Giacomozzi <udog>
Submitted on:  Tue 15 Jan 2008 10:51:27 AM UTC  
 
Category: ActionScriptSeverity: 2 - Minor
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.

 

Tue 15 Jan 2008 12:32:52 PM UTC, comment #4:

Works for me.
Thanks!

Udo Giacomozzi <udog>
Project Member
Tue 15 Jan 2008 11:48:37 AM UTC, comment #3:

fixed simplifying code (I love these fixes :)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 15 Jan 2008 11:24:15 AM UTC, comment #2:

Found the bug, is related to the string being empty
and a braindamaged check in as_object::tostring_method.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 15 Jan 2008 11:16:19 AM UTC, comment #1:

Could you attache the resulting SWF ?
I belive the problem is in the 's:String' name,
I've added a test showing that gnash works completely
fine with a normal name (not containing a colon).

Your bug reports are appreciated.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 15 Jan 2008 10:51:27 AM UTC, original submission:

Minor problem:

var s:String = new String("");

trace("s="+s);

Adobe output: "s="
Gnash output: "s=[object Object]"

PS: Tell me if I'm filing too many bug reports ;) I just try to keep track of them as I encounter them but unfortunately I'm lacking time to fix them all myself ATM.

Udo Giacomozzi <udog>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by udog (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Jan 2008 12:32:52 PM UTCudogStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 15 Jan 2008 11:48:37 AM UTCstrkStatusIn Progress=>Ready For Test
    Tue 15 Jan 2008 11:24:15 AM UTCstrkStatusNone=>In Progress
      Assigned toNone=>strk

    Back to the top


    Powered by Savane 3.1-cleanup1