github kobotoolbox/kpi 2.026.33b

6 hours ago

What's changed

Bug Fixes (2)
  • attachments: accept media questions from every version a submission spans (#7567)

    Files attached to a submission are no longer dropped when the form's
    question was renamed while the form was open.

    Attaching a file to a form that was renamed or reorganised in the
    meantime used to lose that file. The submission went through, the
    filename stayed in the data, but the file itself was gone with no error
    shown anywhere. It happened whenever the question moved between the
    moment the form was loaded and the moment the record reached the server:
    a form edited and redeployed in another tab, or a record filled in
    offline and sent days later.

    Those files are kept now. A submission is matched against every version
    of the form it has been through, not only against the one deployed
    today.

  • exports: drop legacy _notes and _tags columns (#7587)

    Data exports no longer include the _notes and _tags columns.

    Notes and tags on submissions came from the legacy KoboCAT API, which is
    gone, so nobody can fill them in anymore. Exports kept the two columns
    anyway, which was confusing. They are removed from CSV, XLSX and SPSS
    labels exports, along with the _submission__notes and
    _submission__tags columns on repeat group sheets.

Performance (1)
  • attachments: parse form media xpaths with ElementTree (#7579)

    Submitting to a large project is faster, and a malformed form no longer
    fails the submission it was carrying.

    Every submission that arrives has its form read to find out which
    questions can hold a file. That reading was rebuilding the whole form
    each time, work that was thrown away immediately afterwards. It now
    reads only what it needs, which takes about a tenth of the time on a big
    project.

Continous Integration (2)
  • releases: don't sometimes skip linear release linking (#7594)
  • ping author instead of all devs (#7590)
Chores (1)
  • pull transifex translations for 2.026.33b (dacfeb3)

Full Changelog: https://github.com/kobotoolbox/kpi/compare/2.026.33a..2.026.33b

Don't miss a new kpi release

NewReleases is sending notifications on new releases.