Skip to content
Snippets Groups Projects
Commit 64c61e0f authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

Fix ScanService Warnings

parent 35c7b77e
No related branches found
No related tags found
No related merge requests found
Showing
with 2 additions and 127 deletions
......@@ -17,8 +17,8 @@
<name>FILTER_CONDITION</name>
<title>Condition</title>
<contentType>FILTER_TREE</contentType>
<valueProcess>%aditoprj%/entity/DuplicateScannerPrefilterConfig_entity/entityfields/condition/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/DuplicateScannerPrefilterConfig_entity/entityfields/condition/onValueChange.js</onValueChange>
<valueProcess>%aditoprj%/entity/DuplicateScannerPrefilterConfig_entity/entityfields/filter_condition/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/DuplicateScannerPrefilterConfig_entity/entityfields/filter_condition/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
......
......@@ -910,42 +910,6 @@
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/Organisation_entity/entityfields/openadminview/stateProcess.js</stateProcess>
</entityActionField>
<entityConsumer>
<name>OrganisationDuplicates</name>
<dependency>
<name>dependency</name>
</dependency>
<children>
<entityParameter>
<name>filterName_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/filtername_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>recordIdToIgnore_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/recordidtoignore_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>resultFields_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/resultfields_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>resultFieldsIdFieldName_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/resultfieldsidfieldname_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>targetEntity_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/targetentity_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>valuesToScan_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/valuestoscan_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>targetContext_param</name>
<valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationduplicates/children/targetcontext_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityProvider>
<name>SelfDuplicatesProvider</name>
<titlePlural>Duplicates</titlePlural>
......
import("system.result");
result.string("OrganisationDuplicates");
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$field.ORGANISATIONID"));
import("system.result");
result.string(JSON.stringify(["NAME", "STANDARD_PHONE_COMMUNICATION", "STANDARD_EMAIL_COMMUNICATION", "ORGANISATIONID"]));
\ No newline at end of file
import("system.result");
result.string("ORGANISATIONID");
\ No newline at end of file
import("system.result");
result.string("Organisation");
\ No newline at end of file
import("system.result");
result.string("Organisation_entity");
\ No newline at end of file
import("system.logging");
import("system.result");
import("system.vars");
var picture = vars.get("$field.PICTURE");
var name = vars.get("$field.NAME");
let status = vars.get("$field.STATUS");
let recordId = vars.get("$field.ORGANISATIONID");
logging.log("picture -> " + picture);
result.object({PICTURE: picture, NAME: name, STATUS: status, ORGANISATIONID: recordId});
\ No newline at end of file
......@@ -987,50 +987,6 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/Person_entity/entityfields/openadminview/stateProcess.js</stateProcess>
</entityActionField>
<entityConsumer>
<name>PersonDuplicates</name>
<dependency>
<name>dependency</name>
</dependency>
<children>
<entityParameter>
<name>targetEntity_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/targetentity_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>filterName_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/filtername_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>resultFields_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/resultfields_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>valuesToScan_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/valuestoscan_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>resultFieldsIdFieldName_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/resultfieldsidfieldname_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>recordIdToIgnore_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/recordidtoignore_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>targetContext_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/targetcontext_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>sourceContactId_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/sourcecontactid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>contactIdToCheckForCachedDuplicates_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/contactidtocheckforcachedduplicates_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityParameter>
<name>OnlyShowContactIds_param</name>
<expose v="true" />
......
import("system.vars");
import("system.result");
result.string(vars.get("$field.CONTACTID"));
\ No newline at end of file
import("system.result");
result.string("PersonDuplicates");
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$field.CONTACTID"));
\ No newline at end of file
import("system.result");
result.string(JSON.stringify(["FIRSTNAME", "LASTNAME", "CONTACTID"]));
\ No newline at end of file
import("system.result");
result.string("CONTACTID");
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$field.CONTACTID"));
\ No newline at end of file
import("system.result");
result.string("Person");
\ No newline at end of file
import("system.result");
result.string("Person_entity");
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment