Skip to content

Async provider: align media position selection with server logic - #100

Open
kkostov wants to merge 4 commits into
pretix:masterfrom
kkostov:fix/media-fallback-position-selection
Open

kkostov wants to merge 4 commits into
pretix:masterfrom
kkostov:fix/media-fallback-position-selection

Conversation

@kkostov

@kkostov kkostov commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR brings in several bugfixes which were detected during the reusable media testing for the desktop app:

  • When a reusable medium links several positions and none is valid at scan time, the fallback mechanism that calculates the next position used an "OR" while the server uses an AND. As a result, a past position could overwrite a future candidate depending on row order in the app database.

  • Changes the candidate selection to be from the filtered list instead of the raw linked position.

  • Exit scan in during a gap when a ticket is not valid is now also aligned with the server flow (so instead of raising invalid time, it will be allowed).

  • Invalid-time failed scans now upload the scanned medium identifier as the raw barcode instead of the ticket secret.

  • The check-in list product filter is now also applied to media with several positions.

  • Invalid scan for media linked to another date reports reason product

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

Successfully merging this pull request may close these issues.

1 participant