Skip to content

App Details - 401 Unauthorized | Clicking on App Images generate error. #291

@nikunj-maniya

Description

@nikunj-maniya

Current Behavior

  • In the App Release -> Validate & Publish section and App Overview -> App Details page, clicking on App Images generates a 401 Unauthorized error.
  • It should load the respective image.
  • When we click on these images ImageGellary component calls API without the JWT Token

Expected Behavior

  • Clicking on the App Image should display the preview image.

Steps To Reproduce

  • Login to Portal Application
  • Navigate to App Management -> App release process
  • Clicks on Register Your App
  • Navigate to the "App Release - Validate & Publish" section.
  • Click on App Details → App images
  • Go to the "App Management -> App Overview → App Details" page.
  • Click on any App Image.

Solution

  • The Image component has loader props and in portal frontend we are passing the loader as a props in ImageGellary component.
  • We have to pass the loader function as a prop in these components: ImageItemOverlay, ImageItemOverlay -> Image,

Reference Images

image
image
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

NEW USER REQUEST

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions