edmcouncil / html-pages

spec.edmcouncil.org web pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some issues in html-pages when run in docker container in OV.

dasawanaka opened this issue · comments

  • Error while loading HTML page (http://localhost:3000/dev/ontology): {"timestamp":"2023-06-02T10:56:51.909+00:00","status":405,"error":"Method Not Allowed","path":"/dev/ontology/api/"}
  • In the server logs: 2023-06-02 10:56:51,906 WARN [http-nio-8080-exec-9] org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver: Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported]

Edit:

There is also error in the web console:

[Vue warn]: Unknown custom element: <PropertiesList> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <ResourceSection> at components/Resource/ResourceSection.vue
       <Resource> at components/Resource/Resource.vue
         <OntologyView> at pages/_.vue
           <Nuxt>
             <Layouts/default.vue> at layouts/default.vue
               <Root>
w

Originally posted by @trojczak in edmcouncil/onto-viewer#354 (comment)

Current action: html-pages when endpoint /api is not allowed crashed webpage.

Preferred action: html-pages work as usual saying the resource could not be loaded.