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

WebUI shows [object Object] when viewing a CID #1720

Closed
andrew opened this issue Feb 4, 2021 · 2 comments
Closed

WebUI shows [object Object] when viewing a CID #1720

andrew opened this issue Feb 4, 2021 · 2 comments
Labels
need/analysis Needs further analysis before proceeding need/triage Needs initial labeling and prioritization

Comments

@andrew
Copy link
Contributor

andrew commented Feb 4, 2021

When browsing the following cid: bafkrgqdl3ay2mz2xwwiqrhsasioueqzmozkqmbxviewshbwlhbyph7o4iw53h24c4w4kiej5vxaec5zjl652ynxfexey3pjupnkjpi5j3wbnu (link) in webui, I get this strange view:

Screenshot 2021-02-03 at 16 23 51

Viewing the same CID in IPFS desktop get's something more helpful:

Screenshot 2021-02-04 at 10 00 28

The CID is a gzip file added with --raw-leaves and sha2-512 hash algo

Desktop (please complete the following information):

  • OS: Mac OS Big Sur
  • Browser: Firefox 85
  • webui version: 2.11.1
@andrew andrew added the need/triage Needs initial labeling and prioritization label Feb 4, 2021
@lidel
Copy link
Member

lidel commented Feb 4, 2021

I vaguely remember @rafaelramalho19 fixed this some time ago (error was due to JS API changes?),
but let's keep this open until we confirm it's not a new regression.

@lidel lidel added the need/analysis Needs further analysis before proceeding label Feb 4, 2021
@lidel
Copy link
Member

lidel commented May 14, 2021

I confirmed that the latest webui shows the second screen, so we can close this.
Improving content-type sniffing is tracked as part of #1665

@lidel lidel closed this as completed May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/analysis Needs further analysis before proceeding need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants