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

Fix ResourceItems no longer processed when loading additional DDFs #8043

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

manup
Copy link
Member

@manup manup commented Nov 26, 2024

Problem in the issue was reproduced by joining a device without DDF, existing devices stopped processing some of the resource items. The main issue was that when loading new DDFs during a session the per item load counter got updated for all items in all DDFs, but the device items in memory still pointed to former load counter.

TLTR the load counter should only be incremented for the actually new DDF which is loaded into memory.

Fixes: #7935

Problem in the issue was reproduced by joining a device without DDF, existing devices stopped processing some of the resource items. The main issue was that when loading new DDFs during a session the load counter got updated for all items in all DDFs, but the device items in memory still pointed to former load counter.

TLTR the load counter should only be incremented for the actually new DDF which is loaded into memory.

dresden-elektronik#7935
@manup manup added the Fix label Nov 26, 2024
@manup manup added this to the v2.29.1-beta milestone Nov 26, 2024
@manup manup merged commit b566e6e into dresden-elektronik:master Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Headless deCONZ - no more sensor updates after searching for lights
1 participant