vorto icon indicating copy to clipboard operation
vorto copied to clipboard

Usage of IUserContext.getWorkspaceId()

Open t-gauss opened this issue 4 years ago • 0 comments

The usage of the method above should be checked. It causes issues e.g. with bulk operations. If a model has references in a different namespace a bulk operation (e.g. release) could fail (workspaceId references the workspace of the model - not the reference). For the bulk operations it could be replaced by ModelRepositoryFactory.getRepositoryByNamespace(). Question is if this method makes sense at all - since a user context might not be associated with one namespace.

t-gauss avatar Sep 23 '20 09:09 t-gauss