X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.suite.workbench.rap%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fworkbench%2Fcommands%2FImportEntities.java;h=4febb0eccb357a7631ecea6a272671493b4d9c2d;hp=293cfe06273f7a0afb375b53fa29ae28b3ed967c;hb=4754e4ec30ef5c570f1a45b11c19e5df95ffb0e5;hpb=51d831d23555161f12ad7c493c9841a2b7dbf9f8 diff --git a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java index 293cfe0..4febb0e 100644 --- a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java +++ b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java @@ -82,8 +82,7 @@ public class ImportEntities extends AbstractHandler implements PeopleNames { } // TODO make this configurable - private final static String IMPORT_ENCODING = "ISO-8859-1";//"UTF-8"; - + private final static String IMPORT_ENCODING = "ISO-8859-1";// "UTF-8"; /* DEPENDENCY INJECTION */ private Repository repository; @@ -131,7 +130,8 @@ public class ImportEntities extends AbstractHandler implements PeopleNames { @Override public boolean performFinish() { // Session session = null; - // String templateName = resourceTypeCombo.getItem(resourceTypeCombo.getSelectionIndex()); + // String templateName = + // resourceTypeCombo.getItem(resourceTypeCombo.getSelectionIndex()); // String type = KNOWN_TEMPLATES.get(templateName); importDefaultOrgFile(file); return true; @@ -447,8 +447,8 @@ public class ImportEntities extends AbstractHandler implements PeopleNames { stStr, cStr, true, null, ContactValueCatalogs.CONTACT_CAT_MAIN, null); String mobileStr = getStringValue(sheet, mobileIndex, i); if (notEmpty(mobileStr)) - PeopleJcrUtils.createPhone(peopleService, resourcesService, tmpOrg, mobileStr, true, null, - ContactValueCatalogs.CONTACT_CAT_MOBILE, null); + PeopleJcrUtils.createPhone(peopleService, resourcesService, tmpOrg, mobileStr, true, null, null, + null); String phoneStr = getStringValue(sheet, telephoneNumberIndex, i); if (notEmpty(phoneStr)) PeopleJcrUtils.createPhone(peopleService, resourcesService, tmpOrg, phoneStr, true, null,