Project

General

Profile

bug #8492

Adapt CsvNameExport to rollback only and generally review where and how it should be used

Added by Andreas Müller 12 months ago. Updated 4 months ago.

Status:
New
Priority:
New
Assignee:
Category:
taxeditor
Target version:
Start date:
08/28/2019
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

To make the 2 CsvNameExport tests in TaxEditor test environment not fail, read only was set to false in CsvNameExport (line 207)

partitioner.setReadOnly(false);

If readonly = true the rollback throws an exception in the service layer which is not correctly handled in the tests (and maybe also not real exports).

However, we need to discuss if we need these exports at all after CDM light is now available. They werde developed for print publication of Cuba checklist and Caryophyllales genera.
These can be done either by CDM light in future or in can run from commandline so it is not needed in TaxEditor anymore.
Should be discussed with Walter.
If we keep it we should handle it like other long running export tasks.

History

#1 Updated by Andreas Müller 12 months ago

These 2 tests failed:

Tests in error: 
  IOServiceExportTest.exportCSVNameTest:99 ? UnexpectedRollback Transaction roll...
  IOServiceExportTest.exportCSVPrintTest:112 ? UnexpectedRollback Transaction ro...

#2 Updated by Katja Luther 11 months ago

  • Target version changed from Release 5.10 to Release 5.11

#3 Updated by Andreas Müller 9 months ago

  • Target version changed from Release 5.11 to Release 5.12

#4 Updated by Katja Luther 7 months ago

  • Target version changed from Release 5.12 to Release 5.13

#5 Updated by Andreas Müller 5 months ago

  • Target version changed from Release 5.13 to Release 5.14

#6 Updated by Andreas Müller 4 months ago

  • Target version changed from Release 5.14 to Release 5.15

#7 Updated by Katja Luther 4 months ago

  • Target version changed from Release 5.15 to Release 5.17

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)