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

data: Document the session_handle type mismatch #1408

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

whot
Copy link
Contributor

@whot whot commented Aug 6, 2024

This was erroneously implemented as s but for backwards compatibility cannot be changed as it would break existing clients. Best we can do here is fix the documentation and tell people about it.

See eebb041 ("use correct type for the session object path") and its revert in e452353.

Closes #1359

@swick
Copy link
Contributor

swick commented Aug 6, 2024

LGTM

@bilelmoussaoui
Copy link
Member

same is also true for location portal

@whot
Copy link
Contributor Author

whot commented Aug 6, 2024

@bilelmoussaoui which call? I'm looking at xdp_dbus_location_call_create_session_finish() and it gets the handle as o, same for xdp_dbus_location_call_create_session_sync(). Same for the call_start* equivalents. So this looks correct?

@whot whot force-pushed the wip/document-session-handle-bug branch from ffa25b7 to 173b311 Compare October 4, 2024 03:55
@whot
Copy link
Contributor Author

whot commented Oct 4, 2024

Updated - still convinced the location portal is fine :)

@jadahl
Copy link
Collaborator

jadahl commented Oct 4, 2024

lgtm, will merge in some days if noone objects

This was erroneously implemented as `s` but for backwards
compatibility cannot be changed as it would break existing clients.
Best we can do here is fix the documentation and tell people about it.

See eebb041 ("use correct type for the session object path")
and its revert in e452353.

Closes flatpak#1359
@jadahl jadahl force-pushed the wip/document-session-handle-bug branch from 173b311 to 8f03780 Compare October 9, 2024 15:14
@jadahl jadahl added this pull request to the merge queue Oct 9, 2024
Merged via the queue into flatpak:main with commit 02b7051 Oct 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triaged
Development

Successfully merging this pull request may close these issues.

Type of session_handle in the response of CreateSession differs from documentation
4 participants