Hi Ilia, I looked into this and although I did not try to make the changes myself, it turned out that the error you are getting is already there on the ACL rules tab.
I raised a Jira ticket for investigation. It seems to me that your solution should work as is, once the issue with "data: args.jsonObj.tags" is fixed. I have not taken further steps but you are more than welcome to investigate this :) I have filed the following bug for now: https://issues.apache.org/jira/browse/CLOUDSTACK-7462 Cheers, Gabor -----Original Message----- From: Ilia Shakitko [mailto:i.shaki...@tech.leaseweb.com] Sent: 01 September 2014 13:52 To: dev@cloudstack.apache.org Subject: RE: jsonObj is not defined. UI development problem. Can somebody help me in that? I’ve tried to contact Jessica Wang (main changer in that ui part, but haven’t got an answer yet) Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 E: i.shaki...@tech.leaseweb.com W: www.leaseweb.com<http://www.leaseweb.com> Luttenbergweg 8, 1101 EC Amsterdam, The Netherlands From: Ilia Shakitko Sent: woensdag, 27 augustus, 2014 11:54 To: dev@cloudstack.apache.org Subject: jsonObj is not defined. UI development problem. I am working on some ui changes in cloudstack. And I am adding some lines (to display tags for SecurityGroupRules) in network.js: line #4670 (before actions: { destroy: { … on line #4814): tags: cloudStack.api.tags({ resourceType: 'SecurityGroupRule', contextId: 'multiRule' }), I made it 1 to 1 with FirewallRule. But it doesn’t work. I spend quite a lot of time on trying to figure out why. It renders the window, but without anything: http://clip2net.com/s/iO0mAh (http://clip2net.com/s/iO0mWk) So as I understood debugging the code, it runs in issues in sharedFunctions.js file when it tries to read “jsonObj” but it’s empty (http://clip2net.com/s/iO0lwy). I couldn’t figure out why is it empty and where do I fill it with data from “context”… Could you help me with correct direction? What am I missing? ☺ Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 E: i.shaki...@tech.leaseweb.com<mailto:i.shaki...@tech.leaseweb.com> W: www.leaseweb.com<http://www.leaseweb.com> Luttenbergweg 8, 1101 EC Amsterdam, The Netherlands