Page 1 of 1
Can't edit newly created functions in AngularJS app
Posted: Tue Mar 17, 2015 9:53 am
by Teemu Peltomaa7435512
As of today, I can no longer edit newly created functions on my Angular JS app in the scope view. Clicking the typeable area, nothing happens and in the console it outputs "Uncaught TypeError: Cannot read property 'controller' of undefined". Functions which already had code are editable and work normally.
Can't edit newly created functions in AngularJS app
Posted: Tue Mar 17, 2015 8:21 pm
by Illya Stepanov
Hi Teemu -
Seems to be a bug, thanks for letting us know we will report.
Can't edit newly created functions in AngularJS app
Posted: Wed Mar 18, 2015 11:33 am
by Illya Stepanov
Could you please clarify what browser you are using? We've checked this in Chrome and Safari and everything works for us.
Please share your app with us and tell us its name, we'll take a look.
Can't edit newly created functions in AngularJS app
Posted: Wed Mar 18, 2015 11:56 am
by Teemu Peltomaa7435512
I've tried it with Chrome and Firefox and both in Incognito-mode with the same results.
The app is named "Vaatekaappi" and there are empty-functions on the "Vaatekaappi"-page, because no code can be added to them. On the "Listaus"-page there are functions I was able to create earlier and they can still be edited. I can also create new functions to that page. So, could the problem be related to how those pages use their controllers?
Can't edit newly created functions in AngularJS app
Posted: Wed Mar 18, 2015 3:53 pm
by Illya Stepanov
Thank you, Teemu! We've forwarded this issue to our developers, we will let you know when we have any news on it.
Can't edit newly created functions in AngularJS app
Posted: Thu Mar 19, 2015 10:44 am
by Illya Stepanov
Looks like this is related to the same project name and screen name usage in the project. You can try rename the Screen name 'Vaatekaappi' or Project name 'Vaatekaappi'.
Can't edit newly created functions in AngularJS app
Posted: Thu Mar 19, 2015 11:03 am
by Teemu Peltomaa7435512
Thank you very much! Works like a charm!