OpenMediaVault-Plugin-Developers / openmediavault-docker-gui

Docker plugin for OpenMediaVault
32 stars 17 forks source link

Error when pressing 'Run Image' in 'Docker Image' grid #77

Open votdev opened 5 years ago

votdev commented 5 years ago

After pressing the 'Run Image' the browser fires errors that a component 'hostip-1' can't be registered because of an already existing duplicate. The problem seems to be that the dialog excessively uses the component id field for various UI controls, but does not take care that this ID must be unique across the whole UI. I used the linuxserver/transmission image for testing.

Browsers: Firefox 66 and Chromium 73.0.3683.75

ryecoaaron commented 5 years ago

While I can't seem to duplicate the errors on the same version of Chromium, I do see what you are saying about the excessive ID use.

ryecoaaron commented 5 years ago

Looks like switching to itemId is the way to go?

votdev commented 5 years ago

Yes, i think so, but i did not know the code which is relevant. Note, the itemId is only available within the container.