Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Image component won't render its error component if it finds a link, but doesn't find an image at the end of that link. #188

Open
ameyabhat opened this issue Nov 4, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@ameyabhat
Copy link

Bug description

I'm trying to use the Image component as a custom body in a TableColumn. One of the Things the table is rendering has a link to an image where I would expect one to be, but no actual image at the other end of the link. I'm expecting the resulting 404 to render the error Component I've given the image, but instead it renders this:

image

Expected result

image

Actual result

The image component renders an image with an unknown source instead of the error image I expect it to output on a 404

Environment

System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 4.35 GB / 11.89 GB
Binaries:
Node: 13.7.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.13.6 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 86.0.4240.111
Edge: Spartan (44.18362.449.0)
Internet Explorer: 11.0.18362.1
npmPackages:
@inrupt/eslint-config-base: 0.0.4 => 0.0.4
@inrupt/eslint-config-react: 0.0.4 => 0.0.4
@inrupt/solid-client: ^0.6.1 => 0.6.1
@inrupt/solid-client-authn-browser: ^0.2.2 => 0.2.2
@inrupt/solid-ui-react: ^1.5.0 => 1.5.1
@inrupt/vocab-common-rdf: ^0.5.5 => 0.5.5
@material-ui/core: ^4.11.0 => 4.11.0
@material-ui/icons: ^4.9.1 => 4.9.1
@types/node: ^14.14.0 => 14.14.0
@types/react: ^16.9.53 => 16.9.53
@typescript-eslint/eslint-plugin: ^4.5.0 => 4.5.0
@typescript-eslint/parser: ^4.5.0 => 4.5.0
eslint: ^7.11.0 => 7.11.0
eslint-config-airbnb: ^18.2.0 => 18.2.0
eslint-config-prettier: ^6.13.0 => 6.13.0
eslint-plugin-import: ^2.22.1 => 2.22.1
eslint-plugin-jest: ^24.1.0 => 24.1.0
eslint-plugin-jsx-a11y: ^6.3.1 => 6.3.1
eslint-plugin-prettier: ^3.1.4 => 3.1.4
eslint-plugin-react: ^7.21.5 => 7.21.5
eslint-plugin-react-hooks: ^4.2.0 => 4.2.0
https: ^1.0.0 => 1.0.0
jest: ^26.6.0 => 26.6.0
next: 9.5.2 => 9.5.2
prettier: ^2.1.2 => 2.1.2
rdf-namespaces: ^1.9.2 => 1.9.2
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-error-boundary: ^3.0.2 => 3.0.2
reactjs-popup: ^2.0.4 => 2.0.4
typescript: ^3.9.7 => 3.9.7
uuid: ^8.3.1 => 8.3.1
npmGlobalPackages:
create-react-app: 3.4.1

@NSeydoux
Copy link
Contributor

Hi @ameyabhat . We are deprecating this library, so unfortunately we will not address the open issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants