Community
Participate
Working Groups
The key used for ModelAccessorsRegistry map is the URI of the first odesign resource of the resource set. It is strange. For example, at a session creation, there is no Viewpoint selected, the key is "". For the same session, after Viewpoint selection, the ModelAccessor returned by the registry will not be the same (because the key is no longer ""). Furthermore, in some condition, this causes strange effect. For a session "sessionA" with an editingDomain using resourceSet "rsA", the result with these 2 expressions is not the same: * PermissionAuthorityRegistry.getDefault().getPermissionAuthority(rsA); * sessionA.getModelAccessor().getPermissionAuthority(); I have not simple reproduction use case. I'll try to add it later.
New Gerrit change created: https://git.eclipse.org/r/81177
Gerrit change https://git.eclipse.org/r/81177 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=402bd7a748e4fee2d35a947222b968e3cab32015
New Gerrit change created: https://git.eclipse.org/r/81368
There is no real steps to reproduce. But the test of https://git.eclipse.org/r/81368 illustrates the problem.
Gerrit change https://git.eclipse.org/r/81368 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=23268624e7ae321d80d566dbd776f333ef5b15cd
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.