Forum BigDB CreateObject bug

Discussion and help relating to the PlayerIO database solution, BigDB.

CreateObject bug

Postby azuanagames » October 16th, 2010, 8:07 pm

If you don't supply a callback the object does get created but you get an exception as follows:

Code: Select all
TypeError: Error #1006: value is not a function.
  at Function/()
  at Function/()
  at Function/()
  at flash.events::EventDispatcher/dispatchEventFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at flash.net::URLLoader/onComplete()
in callback handler for BigDB.createObjects


Providing an empty callback works. The default is null, are you trying to execute that null? :)
azuanagames
 
Posts: 157
Joined: April 29th, 2010, 10:59 pm

Re: CreateObject bug

Postby Benjaminsen » October 25th, 2010, 8:36 am

I will look into this ASAP
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: CreateObject bug

Postby Benjaminsen » October 25th, 2010, 4:48 pm

Quick update to say that I found and fixed this bug. The fixed version will be pushed with our next release cycle.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to BigDB



cron