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

Failure to move photos off the tablet with multi-step upload #316

Open
martinburchell opened this issue Aug 24, 2023 · 0 comments
Open

Failure to move photos off the tablet with multi-step upload #316

martinburchell opened this issue Aug 24, 2023 · 0 comments

Comments

@martinburchell
Copy link
Collaborator

To repeat:

  • Invoke multi-step upload either through the server setting or by exceeding the database limit for one-step upload
  • Complete a photo task for a patient
  • Upload the photo task, selecting Keep patients and move

The upload fails with the error from the server:

Server reported an error: Must provide the variable: move_off_tablet_values

This happens because:

  • move_off_tablet is NULL for the blob record associated with the photo.
  • requestRecordwisePkPrune sends the which_keys_to_send request with move_off_tablet_values as an empty string.
  • The server complains because which_keys_to_send is not set.

Workaround (for clinician mode) is to upload with copy before move. This will set the move_off_tablet flag on the records when they are copied so they will not be NULL when they are moved.

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

1 participant