@phildunlap As you say, I needed to upgrade mangoApi from 3.2.0 to 3.2.1(because of in the free-m2m2-core-3.2.1 mangoApi is the 3.2.0 version) too and mangoUI to 3.2.2 and everything is working now. Thank you
Latest posts made by susana
-
RE: Problem with ma-objects with the 3.2.0 mango version
-
RE: Problem with ma-objects with the 3.2.0 mango version
@jared-wiltshire I download download the zip file of the module mangoUI 3.2.2 into the <MA_HOME>/web/modules directory, and restart Mango Automation but the dashboard designer and my adminTemplate project does not load.
In module opcion say:
mangoUI 3.2.2 - Module unloaded due to missing dependency.
dashboardDesigner 3.2.0 - Module unloaded due to missing dependency.
deviceConfig 3.2.0 - Module unloaded due to missing dependency.
snmp 3.2.0 - Module unloaded due to missing dependency. -
Problem with ma-objects with the 3.2.0 mango version
Hi,
I copy from the version 3.0.1 to the version 3.2.0 my dashboard to the overrides folder and I have serveral errors. The most important error is a loop in which I read json with all the datapoints that I want to show. It works with version 3.0.2.<div ng-repeat="value in objects" ng-click="selectLum(value)" class="{{value.type}}"> <div ng-if="'LUM' == value.type"> <a href="#" ng-click="show()"> <span class="tooltiptext" title="{{value.name}}"> <ma-switch-img id="{{value.name}}" style="position: absolute; left: {{value.left}}; top: {{value.top}}; width: 46px; height: 35px;" src-0="/img/{{value.type}}_off.png" default-src="/img/{{value.type}}_on.png" point-xid="{{value.xid}}"> </ma-switch-img> </span> </a> </div> </div>
The var objects is this JSON:
{ "xid" : "Lum_D_1", "name" : "LUMINARIA D_1", "left" : "300px", "top" : "310px", "type" : "LUM" }, { "xid" : "Lum_D_2", "name" : "LUMINARIA D_2", "left" : "450px", "top" : "310px", "type" : "LUM" } ]
When I create the ma-object (in this case 'ma-switch-img id'), it create this result after compile:
<div ng-if="'LUM' == value.type"> <a href="#" ng-click="show()"> <span class="tooltiptext" title="LUMINARIA I_2"> <ma-switch-img id="{{value.name}}" style="position: absolute; left: {{value.left}}; top: {{value.top}}; width: 46px; height: 35px;" src-0="/img/{{value.type}}_off.png" default-src="/img/{{value.type}}_on.png" point-xid="{{value.xid}}"><img ng-src="{{$ctrl.src}}"></ma-switch-img> </span> </a> </div>
Instead of this:
<a href="#" ng-click="show()"> <span class="tooltiptext" title="LUMINARIA I_2"> <ma-switch-img id="LUMINARIA I_2" style="position: absolute; left: 310px; top: 310px; width: 46px; height: 35px;" src-0="/img/LUM_off.png" default-src="/img/LUM_on.png" point-xid="Lum_D_1"><img ng-src="{{$ctrl.src}}"></ma-switch-img> </span> </a> </div>
if I print
{{value.name}}
then you can see the value "LUMINARIA D_1", moreover with the span label it works but not with ma-objects.Thank you in advance
-
RE: Mango Installation Stuck at Starting Mango (Windows)
Hi, I have the same problem with the new version 3.2.0. when I try to boot the ma-start in windows and in Linux, it does not work. I did other way too, in the modules folder, I download the zip modules with every dependency module and restart too but it does not work either. Now, I have installed the version 3.0 and I want to upgrade because I need to use the SVG object like "ma-svg" because of the version 3.0 does not exist. I have Java 8 installed and the version 3.0 is working, then I don't know if the specification have changed or it is a bug in the new version.
Could you tell me what is wrong and how to resolve it?Thank you in advance.