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

Relative URLs for Small & Medium Icon URLs in widget definitions are used inconsistently. #106

Open
lawerencem opened this issue Oct 23, 2018 · 0 comments

Comments

@lawerencem
Copy link

The Small Icon URL used within the OWF Admin Widgets is relative to the OWF root, not the host root when a relative path is used. However, the Medium Icon URL used for the App Component tray is relative to the host root.

Assume the following images exist under the /Foo application on the same server as OWF.

  • /foo/images/small-icon.png
  • /foo/images/medium-icon.png

Creating a widget for the Foo application may utilize the following widget settings:

Name: Foo
URL: /foo/index.html
Small Icon URL: /foo/images/small-icon.png
Medium Icon URL: /foo/images/medium-icon.png

OWF turns the small icon into "https://my-host/owf/foo/images/small-icon.png" This is incorrect and the small icon will not appear in any of the admin widgets.

OWF turns the medium icon into "https://my-host/foo/images/medium-icon.png". This is correct and the medium icon will appear in the App Components tray.

This behavior is inconsistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant