This commit is contained in:
Ralph Soika 2023-02-07 14:43:42 +01:00
parent 4507638daf
commit 0a4254b8ae
3 changed files with 5 additions and 3 deletions

View file

@ -146,7 +146,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
int referenceRowPos = 12; int referenceRowPos = 12;
int rowPos = 12; int rowPos = 12;
// int lastRow = sheet.getLastRowNum(); // int lastRow = sheet.getLastRowNum();
int lastRow = 9999; int lastRow = 999;
logger.finest("Last rownum=" + lastRow); logger.finest("Last rownum=" + lastRow);
int totalRowCount = invoiceMap.size(); int totalRowCount = invoiceMap.size();
@ -202,7 +202,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
row.getCell(8).setCellValue(total); row.getCell(8).setCellValue(total);
row.getCell(9).setCellValue(invoice.getItemValueString("invoice.currency")); row.getCell(9).setCellValue(invoice.getItemValueString("invoice.currency"));
} }
row.getCell(10).setCellValue(invoice.getItemValueString("$workflowstatus"));
saldo = saldo + total; saldo = saldo + total;
rowPos++; rowPos++;
} }
@ -227,7 +227,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
} catch (IOException e) { } catch (IOException e) {
throw new PluginException(OPListExportAdapter.class.getSimpleName(), ERROR_CONFIG, throw new PluginException(OPListExportAdapter.class.getSimpleName(), ERROR_CONFIG,
"failed to update zahlungsavis: " + e.getMessage()); "failed to update opliste: " + e.getMessage());
} }
} }

View file

@ -9,6 +9,7 @@ import org.imixs.archive.importer.DocumentImportService;
import org.imixs.archive.importer.mail.IMAPBasicAuthenticator; import org.imixs.archive.importer.mail.IMAPBasicAuthenticator;
import org.imixs.archive.importer.mail.IMAPOutlookAuthenticator; import org.imixs.archive.importer.mail.IMAPOutlookAuthenticator;
import org.imixs.workflow.ItemCollection; import org.imixs.workflow.ItemCollection;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import junit.framework.Assert; import junit.framework.Assert;
@ -60,6 +61,7 @@ public class TestIMAPAuhtenticators {
* *
*/ */
@Test @Test
@Ignore
public void testBasicAuthenticator() { public void testBasicAuthenticator() {
IMAPBasicAuthenticator auth = new IMAPBasicAuthenticator(); IMAPBasicAuthenticator auth = new IMAPBasicAuthenticator();

Binary file not shown.