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

stateDescription metadata page is broken in OH 5.0 demo app #2954

Closed
lolodomo opened this issue Dec 28, 2024 · 1 comment · Fixed by openhab/openhab-distro#1714
Closed

stateDescription metadata page is broken in OH 5.0 demo app #2954

lolodomo opened this issue Dec 28, 2024 · 1 comment · Fixed by openhab/openhab-distro#1714
Labels
main ui Main UI

Comments

@lolodomo
Copy link
Contributor

lolodomo commented Dec 28, 2024

The problem

When running Main UI from OH 5 dev environment (Eclipse), the page presented when adding a state description for an item is empty (config tab):

image

Code tab is OK.

image

Steps to reproduce

In Main UI, add a new item, just enter "test" as name and click on "Create" button.
Go to the page of the new item, click on "Add Metadata" and then on "State Description".

Browser console

No warning/error.

Browser network traffic

image

Additional information

Same in Firefox and Chrome.

From this list of predefined metadata, this is the only one displaying a blank page:

image

Doing exactly the same thing with my OH 4.3 production server is working as expected.

@florian-h05 : can you please try to reproduce ?

@lolodomo lolodomo added bug Something isn't working main ui Main UI labels Dec 28, 2024
florian-h05 added a commit to florian-h05/openhab-distro that referenced this issue Jan 1, 2025
@florian-h05
Copy link
Contributor

I can reproduce this issue, it is due to #2752 but this issue is not the UI's fault.
When checking the API explorer, I can see that the demo app is completely missing the /rest/transformations endpoint! (You can see this in the browser console and network tab.)

I have created a fix for that: openhab/openhab-distro#1714

@florian-h05 florian-h05 added main ui Main UI and removed bug Something isn't working main ui Main UI labels Jan 1, 2025
@florian-h05 florian-h05 changed the title stateDescription page is broken in OH 5.0 stateDescription metadata page is broken in OH 5.0 demo app Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main ui Main UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants