Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Mango 1.8.1 Version Error -


  • Afer upgrading from 1.8.0 to 1.8.1 I receive the following error when I login and I cannot access any points in points/watch list.

    Error Message: "pointNames is undefined"


  • Can't recreate. Can you try to provide more information? Do you have Firebug?


  • I have installed firebug, as and when I get this window firefox becomes inactive. Please let me know the details/logs which you would require from me.
    Thanks,
    Naren


  • The bolded portion where the style opacity seems to go in a loop

    <html>
    <head>
    </head>
    <body>
    <table id="mainHeader" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <td>
    </td>
    <td width="99%" align="center">
    <a href="events.shtm">
    <header__span id="__alarmLevelDiv" style**="opacity: 0.2;">**
    <img id="__header__alarmLevelImg" border="0" title="" alt="" src="images/flag_orange.png"/>
    <span id="__header__alarmLevelText">Critical</span>
    </span>
    </a>
    </td>
    </tr>
    </tbody>
    </table>
    <table id="subHeader" width="100%" cellspacing="0" cellpadding="0" border="0">
    </table>
    <div style="padding: 5px;">
    </div>
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
    </table>
    <script type="text/javascript">
    </script>
    <div id="sm2-container" class="movieContainer" style="position: fixed; width: 8px; height: 8px; bottom: 0px; left: 0px; z-index: -1;">
    </div>
    <div id="soundmanager-debug" style="display: none;"/>
    </body>
    </html>


  • Copy html provides me this...

    <span style="opacity: 0.8;" id="__header__alarmLevelDiv">
    <img border="0" title="Critical" alt="Critical" src="images/flag_orange.png" id="__header__alarmLevelImg"/>
    <span id="__header__alarmLevelText">Critical</span>
    </span>


  • You can set breakpoints in the Javascript code and then step through it until you find the offending line, i.e. the one that causes that alert to appear. Once the alert appears, you need to "ok" it before you can do anything else with the browser. This is browser behaviour common to all browsers AFAIK.

    But, have you tried a ctrl+f5 to make sure this isn't a caching issue? Also, assuming the browser's cache is ok, can you make sure you see this code in the page source:

          var owner;
          var pointNames = {};
    
    

    This defines the pointNames object, which the browser is complaining it can't find. If it is there, something weird is going on.


  • That was indeed a caching issue and when I removed the cached files I no longer get the PointName error. However, I have another error which I came accross on Firefox and tested it on two sytems.

    When I click on PointDetails Icon and go to the details pages I get a window with the message "Error". This error occurs only when the statistics is empty. (This does not happen for Binary points and for binary points the statitics are present.

    <img border="0" onclick="getStatsChart()" class="ptr" title="Get statistics" alt="Get statistics" src="images/control_play_blue.png" id="statsChartImg" style="opacity: 0.4;"/>

    HTML code for Analog points and error occurs

    <img border="0" onclick="getStatsChart()" class="ptr" title="Get statistics" alt="Get statistics" src="images/control_play_blue.png" id="statsChartImg" style="opacity: 0.4;"/>

    Note: The Opacity value goes into a loop for above

    HTML Code for Binary points and there are no errors

    <img border="0" onclick="getStatsChart()" class="ptr" title="Get statistics" alt="Get statistics" src="images/control_play_blue.png" id="statsChartImg" style="opacity: 0.999999;"/>


  • A problem was found in the recent changes from Object values to the MangoValue base class in the stats chart snippet. A fix for this will be in the next release. Sorry for the inconvenience.