Discussion Board

Results 1 to 2 of 2
  1. #1
    Nokia Developer Expert
    Join Date
    Jul 2011

    Bug found in Platfom Services 2.0 (platformservices.js)

    I just started today using the Platform Services, so I don't know where to report this. If here is not the place, could someone please post the link to where. Thanks.

    At the beginning of the file platformservices.js we find this piece of code:

    if ((typeof nokia) == "undefined") {
    nokia = {};
    nokia.device = {};
    else {
    if ((typeof nokia.device) != "undefined") {
    nokia.device = {};
    else {
    throw ("nokia.device already defined");

    Usually everything goes well because nobody defines the nokia object, but I am using and api (nokia Places API) that is defining it. So then we go to through the else and there is the error: the following line

    if ((typeof nokia.device) != "undefined") {
    should be

    if ((typeof nokia.device) == "undefined") {
    Otherwise the object nokia.device is never defined and we always throw the exception.

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008

    Re: Bug found in Platfom Services 2.0 (platformservices.js)

    Hi and welcome to forum!

    This is good place for reporting these findings.
    I forwarder your report to RnD team.



Similar Threads

  1. No services found in bluetooth service search
    By akhilg in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2011-07-12, 12:24
  2. QML external JS file not found
    By anothertest in forum Qt
    Replies: 1
    Last Post: 2010-04-13, 11:33
  3. Replies: 5
    Last Post: 2007-01-31, 09:12
  4. bug in nokia mobile server services...
    By sridhar_ratna in forum General Messaging
    Replies: 0
    Last Post: 2003-05-26, 04:19
  5. help!!I found a bug in 7650!!
    By newchow in forum General Messaging
    Replies: 0
    Last Post: 2002-10-14, 19:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts