opensourceBIM / bimvie.ws

Javascript client for Building Information Modelling, using open standards like IFC, BCF and BIMSie. Using Bootstrap, BIM Surfer, etc..
GNU Affero General Public License v3.0
170 stars 85 forks source link

Deleted internal services show up in list to add to project #107

Open hlg opened 6 years ago

hlg commented 6 years ago

The list of internal services to be added for a user is populated from PluginInterface.getAllInternalServices, whereas the list of services to be added to a project is populated from ServiceInterface.getAllLocalServiceDescriptors. The latter returns a list of all internal services including deleted ones, even if the plugin that provided them is not installed anymore. Of course, adding these services to a project leads to all sorts of problems, so they probably should not be offered to be added.

I am not sure whether this is the expected behavior of the ServiceInterface method and actually a bimvie.ws issue or an issue of the ServiceInterface. What is the intended use of either of the two methods?