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

sharedCache broken for rules DSL #4447

Open
mstormi opened this issue Nov 12, 2024 · 2 comments
Open

sharedCache broken for rules DSL #4447

mstormi opened this issue Nov 12, 2024 · 2 comments
Labels
bug An unexpected problem or unintended behavior of the Core

Comments

@mstormi
Copy link

mstormi commented Nov 12, 2024

The shared cache is no longer available in rules DSL?

The test rule mentioned here
results in

2024-11-12 11:04:00.271 [ERROR] [ore.automation.module.script.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'x-1' failed: The name 'sharedCache' cannot be resolved to an item or type; line 5, column 27, length 11 in x

There's hints on the forum it worked in 4.1 and broke somewhere between 4.1 and 4.2.

Related: #3187

@mstormi mstormi added the bug An unexpected problem or unintended behavior of the Core label Nov 12, 2024
@mstormi mstormi changed the title sharedCache unavailable in rules DSL sharedCache broken for rules DSL Nov 12, 2024
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/rule-dsl-the-name-sharedcache-cannot-be-resolved-to-an-item-or-type/157703/12

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-4-3-milestone-discussion/158139/61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

No branches or pull requests

2 participants