Closed jakubklimek closed 3 years ago
http://localhost:8030/dataset?iri=https%3A%2F%2Fdata.gov.cz%2Fzdroj%2Fdatové-sady%2FPoskytovatel1%2F9999992&iri=https%3A%2F%2Fdata.gov.cz%2Fzdroj%2Fdatové-sady%2FPoskytovatel1%2F9999992
react-dom.development.js:20078 The above error occurred in the <DatasetDetail> component: at DatasetDetail (webpack://dcat-viewer/./client/profile-lkod/dataset-detail/dataset-detail.jsx?:33:77) at Route (eval at ES6ProxyComponentFactory (webpack://dcat-viewer/./node_modules/react-hot-loader/dist/react-hot-loader.development.js?), <anonymous>:14:7) at Switch (eval at ES6ProxyComponentFactory (webpack://dcat-viewer/./node_modules/react-hot-loader/dist/react-hot-loader.development.js?), <anonymous>:14:7) at WithModalDialog (webpack://dcat-viewer/./client/viewer-react/service/modal.tsx?:32:61) at WithNavigation (webpack://dcat-viewer/./client/viewer-react/service/navigation.tsx?:36:81) at Application (webpack://dcat-viewer/./client/profile-lkod/core/application.jsx?:36:668) at Router (eval at ES6ProxyComponentFactory (webpack://dcat-viewer/./node_modules/react-hot-loader/dist/react-hot-loader.development.js?), <anonymous>:14:7) at BrowserRouter (eval at ES6ProxyComponentFactory (webpack://dcat-viewer/./node_modules/react-hot-loader/dist/react-hot-loader.development.js?), <anonymous>:14:7) at Provider (webpack://dcat-viewer/./node_modules/react-redux/es/components/Provider.js?:16:20) Consider adding an error boundary to your tree to customize error handling behavior. Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. logCapturedError @ react-dom.development.js:20078 update.callback @ react-dom.development.js:20106 callCallback @ react-dom.development.js:12311 commitUpdateQueue @ react-dom.development.js:12332 commitLifeCycles @ react-dom.development.js:20724 commitLayoutEffects @ react-dom.development.js:23414 callCallback @ react-dom.development.js:3946 invokeGuardedCallbackDev @ react-dom.development.js:3995 invokeGuardedCallback @ react-dom.development.js:4057 commitRootImpl @ react-dom.development.js:23139 unstable_runWithPriority @ scheduler.development.js:646 runWithPriority$1 @ react-dom.development.js:11269 commitRoot @ react-dom.development.js:22978 performSyncWorkOnRoot @ react-dom.development.js:22317 scheduleUpdateOnFiber @ react-dom.development.js:21869 updateContainer @ react-dom.development.js:25470 eval @ react-dom.development.js:26009 unbatchedUpdates @ react-dom.development.js:22419 legacyRenderSubtreeIntoContainer @ react-dom.development.js:26008 render @ react-dom.development.js:26091 eval @ render.jsx:52 ./client/viewer-react/render.jsx @ bundle.js:1967 __webpack_require__ @ bundle.js:8812 fn @ bundle.js:9045 eval @ index.js:33 ./client/profile-nkod/index.js @ bundle.js:1893 __webpack_require__ @ bundle.js:8812 (anonymous) @ bundle.js:9840 (anonymous) @ bundle.js:9841 react-dom.development.js:23263 Uncaught TypeError: iri.startsWith is not a function at isBlankNode (label-service.ts:93) at eval (label-service.ts:76) at DatasetDetail (dataset-detail.jsx:36) at renderWithHooks (react-dom.development.js:14978) at mountIndeterminateComponent (react-dom.development.js:17804) at beginWork (react-dom.development.js:19042) at HTMLUnknownElement.callCallback (react-dom.development.js:3946) at Object.invokeGuardedCallbackDev (react-dom.development.js:3995) at invokeGuardedCallback (react-dom.development.js:4057) at beginWork$1 (react-dom.development.js:23952)
http://localhost:8030/dataset?iri=https%3A%2F%2Fdata.gov.cz%2Fzdroj%2Fdatové-sady%2FPoskytovatel1%2F9999992&iri=https%3A%2F%2Fdata.gov.cz%2Fzdroj%2Fdatové-sady%2FPoskytovatel1%2F9999992