Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot edit switches #1931

Closed
weltmeyer opened this issue Oct 4, 2019 · 9 comments
Closed

Cannot edit switches #1931

weltmeyer opened this issue Oct 4, 2019 · 9 comments
Labels

Comments

@weltmeyer
Copy link

@weltmeyer weltmeyer commented Oct 4, 2019

Version: 2.05.67 / 26.8.2019

After Adding Tadfree switch and adding an action within a group of lights, i cant edit the switches anymore. i get a javascript error:

Uncaught (in promise) TypeError: Cannot read property 'value' of undefined at group-switches.js?39f81c:3 at Array.forEach (<anonymous>) at n.render (group-switches.js?39f81c:3) at n.initialize (group-switches.js?39f81c:3) at n.e.View (backbone-min.js?cedae4:1) at new n (backbone-min.js?cedae4:1) at n.addResourcelink (group-switches.js?39f81c:3) at n.<anonymous> (group-switches.js?39f81c:3) at underscore-min.js?2a5156:5 at Function.m.each.m.forEach (underscore-min.js?2a5156:5) (anonymous) @ group-switches.js?39f81c:3 render @ group-switches.js?39f81c:3 initialize @ group-switches.js?39f81c:3 e.View @ backbone-min.js?cedae4:1 n @ backbone-min.js?cedae4:1 addResourcelink @ group-switches.js?39f81c:3 (anonymous) @ group-switches.js?39f81c:3 (anonymous) @ underscore-min.js?2a5156:5 m.each.m.forEach @ underscore-min.js?2a5156:5 (anonymous) @ backbone-min.js?cedae4:1 initialize @ group-switches.js?39f81c:3 e.View @ backbone-min.js?cedae4:1 n @ backbone-min.js?cedae4:1 setGui @ group-switches.js?39f81c:3 (anonymous) @ group-switches.js?39f81c:3 Promise.then (async) (anonymous) @ group-switches.js?39f81c:3 j @ jquery-min.js?0baf29:2 k @ jquery-min.js?0baf29:2 setTimeout (async) (anonymous) @ jquery-min.js?0baf29:2 i @ jquery-min.js?0baf29:2 add @ jquery-min.js?0baf29:2 (anonymous) @ jquery-min.js?0baf29:2 Deferred @ jquery-min.js?0baf29:2 then @ jquery-min.js?0baf29:2 r.fn.ready @ jquery-min.js?0baf29:2 (anonymous) @ group-switches.js?39f81c:3

@manup
Copy link
Member

@manup manup commented Oct 4, 2019

I think this should be fixed in the latest version 2.05.69.

@weltmeyer
Copy link
Author

@weltmeyer weltmeyer commented Oct 4, 2019

I think this should be fixed in the latest version 2.05.69.

Ohh.. it says i am on the latest version.. how do i upgrade from the webinterface?

@weltmeyer
Copy link
Author

@weltmeyer weltmeyer commented Oct 4, 2019

I think this should be fixed in the latest version 2.05.69.

Ohh.. it says i am on the latest version.. how do i upgrade from the webinterface?

Nevermind, i updateds manually via console :)

@weltmeyer
Copy link
Author

@weltmeyer weltmeyer commented Oct 4, 2019

The problemn also exists with 2.05.69, but the error looks different:
TypeError: Cannot read property 'value' of undefined at group-switches.js?9ec317:3 at Array.forEach (<anonymous>) at n.render (group-switches.js?9ec317:3) at n.initialize (group-switches.js?9ec317:3) at n.e.View (backbone-min.js?cedae4:1) at new n (backbone-min.js?cedae4:1) at n.addResourcelink (group-switches.js?9ec317:3) at n.<anonymous> (group-switches.js?9ec317:3) at underscore-min.js?2a5156:5 at Function.m.each.m.forEach (underscore-min.js?2a5156:5)

This makes it impossible to edit the keys within the group.
image

@manup
Copy link
Member

@manup manup commented Oct 4, 2019

I've updated the online version of the Phoscon App, which hopefully fixes the issue.
Can you please try via http://dresden-elektronik.de/pwa

But I'm not sure why the error occurred in first place, looks like some rule isn't complete.

@weltmeyer
Copy link
Author

@weltmeyer weltmeyer commented Oct 5, 2019

yepp error is skipped now.
could this info help you?:
"skip ResourcelinkView render(), btn not found, rl: 20"

@manup
Copy link
Member

@manup manup commented Oct 7, 2019

Interesting, really looks like the rule isn't complete. Can you please create a backup file in the Phoscon App and send it to mpi@dresden-elektronik.de so I can check what is missing.

@weltmeyer
Copy link
Author

@weltmeyer weltmeyer commented Oct 8, 2019

sure. mail is sent.

@stale
Copy link

@stale stale bot commented Feb 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 5, 2020
@stale stale bot closed this as completed Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants