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.

Form media not loaded when editing draft records

See original GitHub issue

Describe the bug

If the form contains media, such as an image in a note type question, the media does not load if a draft record is loaded for editing.

To Reproduce Steps to reproduce the behavior. If applicable please include the smallest possible XLSForm or XForm (as zip or link).

  1. Create a form with media

survey

type name label media::image
note an_image Image image.png
  1. Open offline form and save record as a draft
  2. Open the draft record
  3. See image is missing

Expected behavior The image displays as it would normally.

Additional info Reported in Kobo forum: https://community.kobotoolbox.org/t/image-not-shown-on-edit-of-draft-after-save-in-enketo-kobotoolbox/26439

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lognaturelcommented, Feb 23, 2022

Please try to repro on 3.1.0 and/or check out the prs merged in the mean time! I’m fairly certain this was addressed.

1reaction
lognaturelcommented, Feb 23, 2022

Can you please make sure you always include exactly what Enketo Express version is being used?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edit forms not pulling in data to cards
I am working on a modified form that interacts with a SharePoint list to log and update information. So far I have the...
Read more >
COMMON ERRORS IN KRONOS AND HOW TO FIX THEM
Employees and supervisors should not be adding, editing or deleting these records. Incorrectly recording overtime hours. Non-exempt employees who have approval ...
Read more >
Version Control: A Good Practice Guide - University of Glasgow
Version control is the process by which different drafts and versions of a document or record are managed. It is a tool which...
Read more >
Army Records Information Management Systems (ARIMS ...
When you have completed updating/adding records to your ORL, click the “Submit As Proposed” button at the bottom of the “Records.
Read more >
Using the File API in Moodle forms - MoodleDocs
2.3.2.1 Replace old htmleditor with editor ; 2.3.2.2 Prepare current data - text and files ; 2.3.2.3 Obtain text, format and save draft...
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