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

Open
weltmeyer opened this issue Oct 4, 2019 · 8 comments

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

This comment has been minimized.

Copy link
Member

@manup manup commented Oct 4, 2019

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

@weltmeyer

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Author

@weltmeyer weltmeyer commented Oct 8, 2019

sure. mail is sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.