Skip to content

Fix loading of DDFs due constants.json race#7793

Merged
manup merged 1 commit intodresden-elektronik:masterfrom
manup:master
May 28, 2024
Merged

Fix loading of DDFs due constants.json race#7793
manup merged 1 commit intodresden-elektronik:masterfrom
manup:master

Conversation

@manup
Copy link
Member

@manup manup commented May 28, 2024

Stupid beginner mistake. The JSON files are read in arbitrary file system order. Which is ok except for the constants.json which need to be read first in order to determine if a DDF should be loaded.

Stupid beginner mistake. The JSON files are read in arbitrary file system order. Which is ok except for the constants.json which need to be read first in order to determine if a DDF should be loaded.
@ebaauw
Copy link
Collaborator

ebaauw commented May 28, 2024

Shouldn’t the relevant constants be included in the bundle?

@Zehir
Copy link
Collaborator

Zehir commented May 28, 2024

Shouldn’t the relevant constants be included in the bundle?

They are, the issue is for the not bundled DDF

@ebaauw
Copy link
Collaborator

ebaauw commented May 28, 2024

The JSON files are read in arbitrary file system order

Makes you miss the MS-DOS days where you could sort the directory entries on disk.

@gibsganich
Copy link

Hi all,
I would guess I am not the only one still facing the issue from subject. My hue wall switches (RDM001) do not work proper since upgrade to 2.27. same issue is still present in 2.28.1.
Therefore I am still running 2.26.3.
Refer with your comment, please.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

4 participants