question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data loss: not all signature images are uploaded in offline-capable forms

See original GitHub issue

Description

This is an intermittent bug that results in a loss of signature images.

If a form includes multiple image questions, at least one of which is appearance: signature, and the form is running in offline mode, it is likely that one or more of the signature image files get lost in the submission process.

To Reproduce

When running a form like this in offline mode:

type name label appearance
start start
end end
image sign_now sign now! signature
image sign_again sign again! signature

The first or second signature image is likely to be missing, for each submission.

other factors:

  • must use offline version of form to reproduce bug
  • happens on 2.5.6 and 2.8.1 (about to test on 3.0.1)
  • tried to sign both fields as quickly as possible
  • having a non-signature appearance image in the form can also “crowd out” the signature file but regular images do not crowd each other out based on our testing so far.

Expected behavior Desired behavior is that no attachments are missing upon submission.

Browser and OS

  • OS: Issue has been reproduced on macos and Linux.
  • Browser: Issue has been reproduced in Chrome and Safari.

Additional context

I’m looking into this now, so I can add screenshots or improved description soon.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

3reactions
eyelidlessnesscommented, Oct 27, 2021

Thanks for reporting this! I’m looking into it. I’ve been able to reproduce this in the current version, and I think I understand what’s happening.

2reactions
jnmcommented, Apr 27, 2022

@joshuaberetta, after you mentioned that you were still seeing this bug on 3.1.0, I reproduced it as well (with a mouse, this time, not a touchscreen) and recorded a screencast: https://user-images.githubusercontent.com/2085013/165527413-64184ccf-e7b1-44d6-919c-77fc6e74686e.mp4

I think we should test on 3.1.1 just to make sure it’s still broken there, and then also test the earliest release that included #373 to see whether this problem is a regression or just something I missed by not testing thoroughly enough during my review.

After that, let’s reopen this issue if needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not retrieve signature - KoboToolbox Community Forum
We have developed a form that containing a signature. ... Data loss: not all signature images are uploaded in offline-capable forms.
Read more >
How to fix common image-related problems in signatures
You experience various problems with images in email signatures, e.g. embedded pictures are not displayed in received emails, are misplaced ...
Read more >
Understand Accessing Forms Offline from Mobile Devices ...
The mobile app caches all the forms a user accesses from their device, ... User submits data through the offline-capable forms cached in...
Read more >
Collecting Offline App Responses - Qualtrics
Remove Responses: Permanently delete all offline responses from the current survey. Responses that have already been uploaded to Qualtrics will not be ...
Read more >
Solved: Signatures disappear while using the inbox feature...
Only the first signature(image) is saved to the data when initially ... Is there a way to ensure that all of the signature...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found