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

Upgraded to 3.6 & Getting error when saving script


  • New Error when saving Meta script... Missing method or missing parameter converters

    How do I fix this? Script runs just won't save.

    var KILOWATTS_COOLING_INCREMENT = 0;
    KILOWATTS_COOLING_INCREMENT = KW.value - KW.pointValueBefore(KW.time).value;
    if (KILOWATTS_COOLING_INCREMENT <= 0)return (UNCHANGED);
    else return (KILOWATTS_COOLING_INCREMENT);


  • Can you give us a little more information? Are you saving this in the new UI? The biggest change in the java scripting environment is the permissions restriction that if the script does not have 'superadmin' permission it cannot execute Java calls.


  • Script, set and read permissions are all superadmin!
    This happens every time when I try to edit and save any existing meta point script.
    It complains "Missing method or missing parameter converters" and the save icon starts blinking and doesn't stop. However these scripts continue to run unaffected , I just cannot change anything.


  • Ah ok, you are using the legacy UI. I cannot reproduce this in my development environment. However it could be from some legacy JSP code lingering in your work directory. I would delete the contents of MA_HOME/work and let Mango rebuild the files on the next page load.

    If that doesn't work try to check the log file for more output or the Chrome developer tools console output. If there is nothing useful then post your JSON config for the data source with its points and I can try to import it and see if I get the same problem.


  • This post is deleted!

  • You probably should post that separately as this thread is specific for the Meta Data Source.


  • Thank-you that worked great and issue resolved. Please don't abandon the legacy pages. I would be so lost if I could not bring these up. :(


  • @Phillip-Weeks the legacy pages will be removed in an upcoming Mango release, we are quickly headed in that direction. I hope you find the new UI easier to use than the old pages, if you have any questions please consult the help files and ask us if you cannot find what you are looking for.


  • Heh good to know the legacy pages will be removed. I have been using them much more than the newer UI. This might be something to make a more "loud" announcement about so we can adjust a head of time. ;)


  • @iperry said in Upgraded to 3.6 & Getting error when saving script:

    Heh good to know the legacy pages will be removed.

    This has not been a secret, you will find many references to it throughout the forum. I think we have been very open about improving the new UI incrementally and deprecating the legacy UI.

    @iperry said in Upgraded to 3.6 & Getting error when saving script:

    I have been using them much more than the newer UI.

    Is there anything in particular that prevents you from using the new UI? I would welcome any suggestions/improvements that you might have.

    @iperry said in Upgraded to 3.6 & Getting error when saving script:

    This might be something to make a more "loud" announcement about so we can adjust a head of time. ;)

    We will absolutely make sure that there is an announcement ahead of time. It will likely be a major release where it happens, such as 4.x


  • Hi @Jared-Wiltshire

    I don't doubt that the removal has not been a secret but it was the first time I had seen that statement in a posting. It is great that the UI is improving.

    There is nothing that prevents me from using the new UI. When I started using Mango, I think I found the old user more concise and seemed to provide more information at a view. Since then, it has just been habit to use it. I like the white background when using applications as opposed to the black/grey of the newer layouts (not just Mango) but that is just my preference.

    I will be making a more cognizant effort to use the new UI.

    Thanks
    Ian


  • @iperry said in Upgraded to 3.6 & Getting error when saving script:

    I like the white background when using applications as opposed to the black/grey of the newer layouts (not just Mango) but that is just my preference.

    Check out the UI settings under Administration, you can configure the color scheme to your liking.

    Great to hear there is nothing holding you back from using the new UI. Please do create a new thread if you find something that could be improved.