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?
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 fromServiceInterface.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?