Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null result from call to ServiceInterface/getProjectByUuid #1353

Open
zaqifathis opened this issue Feb 17, 2025 · 1 comment
Open

Null result from call to ServiceInterface/getProjectByUuid #1353

zaqifathis opened this issue Feb 17, 2025 · 1 comment

Comments

@zaqifathis
Copy link
Collaborator

I tried to retrieve Project data from the running BimServer Instance using the java ClientLibrary.
When I call getServiceInterface().getProjectByUuid(), it always return null. I have tested from console too and I have the same result.

To reproduce:

  • First, get all project from serviceInterface.getAllProjects() to get the UUID
  • Call serviceInterface.getProjectByUuid()
@zaqifathis zaqifathis changed the title Null result when calling getServiceInterface.getProjectByUuid Null result in getServiceInterface.getProjectByUuid Feb 17, 2025
@hlg
Copy link
Member

hlg commented Feb 20, 2025

This is not implemented:


The background is, that previously there was a UUID only for projects, revisions, and users. Then, there was a change made that every object in the database has a UUID. The UUID from the project, revision, user was removed and hence this interface method needs reimplementation.

There is also a protobuf issue that might be related to the same change, loosely.

ERROR [ProtocolBuffersConnectionHandler] o.b.s.p.ProtocolBuffersConverter [ProtocolBuffersConverter.java:198] Unimplemented: uuid: 93499369-5622-4cf5-9d2f-6e1fe9b410bb

This appears when running org.bimserver.test.TestProtocolBuffers and during conversion from SProject to the protobuf message on the server side.

@hlg hlg changed the title Null result in getServiceInterface.getProjectByUuid Null result from call to ServiceInterface/getProjectByUuid Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants