ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

Lost shapes #93

Closed rbicelli closed 10 months ago

rbicelli commented 10 months ago

Hello, since a couple updates ago, I lost shapes from lot of my network diagrams. looks like shapes I'm using are no longer available: img/lib/allied_telesis/switch/

Since the process of replacing those shapes with other present in the library is annoying, is there a way to restore the shapes library?

ericferon commented 10 months ago

Strange... The library Sidebar-AlliedTelesis.js is still present in archimap/public/drawio/src/main/webapp/js/diagramly/sidebar/. You can probably download the missing files from the Github repository and save them on the right place on your server. K.r,

rbicelli commented 10 months ago

I have this behavior on 2 separate GLPI instance. Even if I manually select the library, shapes aren't coming in.

ericferon commented 10 months ago

Are these shapes still available in the "Shapes" pane, in "more shapes" ? Can you send a print screen, so I can figure out what's the problem ? K.r,

rbicelli commented 10 months ago

This is what I'm seeing in the diagram (Firefox/Linux): immagine

(Chrome/Linux): immagine

referenced image is img/lib/allied_telesis/wireless/Access_Point_Indoor.svg

If I manually add shapes it looks like the images are displayed in the preview: immagine

if I try to add a shape: immagine

Inspecting with developer tools image is downloaded (200 OK). if I try to directly download the file the picture is displayed.

ericferon commented 10 months ago

Is the file plugins/archimap/public/drawio/src/main/webapp/img/lib/allied_telesis/wireless/Access_Point_Indoor.svg present ? K.r,

rbicelli commented 10 months ago

Is the file plugins/archimap/public/drawio/src/main/webapp/img/lib/allied_telesis/wireless/Access_Point_Indoor.svg present ? K.r,

Yes, it's present. It is not rendered in the diagram but typing the url directly the picture shows in the browser.

ericferon commented 9 months ago

Hi, I don't know what happened with your diagram(s) and shape(s), but it seems that there are no missing files. So I cannot help you further. K.r,