pombreda / scalr

Automatically exported from code.google.com/p/scalr
0 stars 0 forks source link

TypeError: fieldset.items is undefined when I go to Websites > DNS Zones > Add New #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click Websites > DNS Zones > Add New
2.
3.

What is the expected output? What do you see instead?

Expecting to see a page, however get a popup error that says "TypeError: 
fieldset.items is undefined".

What version of the product are you using? On what operating system?
Tried v2.2.0 and latest svn of scalr-2/trunk

Please provide any additional information below.
Followed instructions for fresh install; everything else seems to work (farms 
get created / instances get launched on EC2) but unable to add new zones. 
Nothing obvious in the logs.

Original issue reported on code.google.com by pse...@gmail.com on 10 Apr 2011 at 1:00

GoogleCodeExporter commented 9 years ago
Please try to remove everything from cache/menu folder, clear browser cache and 
cookies, and try to open it again.

Regards,
Igor

Original comment by dicsydel@gmail.com on 10 Apr 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Tried it as you suggest... results as follows:

- removed menu_1_2930858730.xml (the only file that keeps being created under 
cache/menu)
- in Internet Explorer, no change of behaviour.
- installed Chrome (didn't have it installed yet), hence completely clean 
install -- still broken, though the error is "TypeError: Cannot call method 
'getCount' of undefined".

Thanks very much.

Original comment by pse...@gmail.com on 10 Apr 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Please update to scalr 2.2.1 .

Original comment by dicsydel@gmail.com on 16 Apr 2011 at 10:40

GoogleCodeExporter commented 9 years ago
Updated - still no luck. I have deleted the Apache role on my farm, then the 
nginx role, thinking readding might help - it did not. I then completely 
deleted my farm and re-created it, still did not work.

Is there a sequence I am supposed to follow? I create the farm, add an apache 
and a nginx role, then save, then go to Websites > DNS Zones > Add New, and 
this doesn't work.

Is there any way to turn on debug? Maybe I can figure out which fieldset 
precisely is null and debug from there...

Original comment by pse...@gmail.com on 17 Apr 2011 at 1:06

GoogleCodeExporter commented 9 years ago
Please update file /www/js/ui/dnszones/create.js with one from the latest 
revision in repository: 
http://code.google.com/p/scalr/source/browse/scalr-2/trunk/app/www/js/ui/dnszone
s/create.js?spec=svn327&r=327

Testetd in on my local installation and it works.

Thanks for the report,
Igor

Original comment by dicsydel@gmail.com on 17 Apr 2011 at 1:23

GoogleCodeExporter commented 9 years ago
Confirmed fixed (I am using the svn ver btw, since I figure it's more 
frequently updated :D ).

For reference, Scalr v2.2.1 is rev 326, in case anyone ever reads this bug.

Thanks very much!

Original comment by pse...@gmail.com on 17 Apr 2011 at 1:27

GoogleCodeExporter commented 9 years ago

Original comment by dicsydel@gmail.com on 17 Apr 2011 at 1:48