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

Avatar cannot render image from OData path #1827

Closed
udi-nir opened this issue Jun 18, 2020 · 0 comments · Fixed by #1828
Closed

Avatar cannot render image from OData path #1827

udi-nir opened this issue Jun 18, 2020 · 0 comments · Fixed by #1828
Assignees

Comments

@udi-nir
Copy link

udi-nir commented Jun 18, 2020

Describe the bug
The Avatar with the OData source image is showing nothing in the GUI.

To reproduce
I try to use:
<ui5-avatar image="https://swzdevintegration.lkg.workzone.cfapps.sap.hana.ondemand.com/portaldest/destination/JAM/api/v1/OData/Groups('vtmkvZlQ1kdzDaopKTcFjB')/ProfilePhoto/$value" slot="avatar" class="avatarImage"></ui5-avatar>

The HTML
<img src="...">
tag shows this URL OK, for example.

Isolated example

Screenshots

Context

  • UI5 Web Components version: 1.0.0-rc.6
  • OS/Platform: Win10
  • Browser (if relevant): {...}
  • Other information: {...}

Affected components (if known)

Log output / Any errors in the console

{...}
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

Successfully merging a pull request may close this issue.

2 participants