exportDX2excel can't cope with multiple filters

Issue #430 resolved
Ed McDonagh created an issue

Export DX to CSV fails if multiple filters are found.

Task remapp.exports.dx_export.exportDX2excel[] raised unexpected: MultipleObjectsReturned('get() returned more than one XrayFilters -- it returned 2!',)

Comments (21)

  1. Ed McDonagh reporter

    Removed concept of pre-testing to check for tables for DX csv export. Dropped use of export_safe too, using replace_comma instead. Might not have been a good idea as now have unicode errors so currently broken. Refs #430, #442

    → <<cset c76adeb4cf22>>

  2. Ed McDonagh reporter

    All unicode errors resolved. DX export to csv should now work more robustly! Need to see what is happening with filters on the skeletal survey example I have. Refs #430, #442

    → <<cset e3789d896d69>>

  3. Ed McDonagh reporter

    Factored out filter and filter_thickness value population to replace the three occurancers with one. Refs #454 for xlsx, already fixed for csv. Also fixes #430 for all three occurances in csv and xlsx. Test needs updating.

    → <<cset 28c86f8aad16>>

  4. Log in to comment