and now I see all files attached to shared version in all projects that share this version! I.e. Root project and subproject both have the same list of files for shared version, however some of these files were uploaded in root project and some - in subproject.
In database, each attachment has container. When versions were not shared there was one-to-one correspondence between versions and projects and files were listed only in one project. If version is shared there is no way to determine a project in which file was uploaded and all files are listed in all projects that share this version.
And I don't see a way to fix this bug without changing of database structure.
I can confirm that this issue is still exists in 2.3.0.stable.11727 and it's a little annoying that i can share versions but i can't use them properly.
Shared versions are much less useful for me if I can't use the versions of a project for Files in its subprojects as well as for Issues in those subprojects.