hi,
after migrating from build 20110314 to build 20110514 I get many error messages from a Validator
As you can see I have not defined a validator.
DSResonse:
At the start of application I get the following message for each! datasource.
What has to change here, or is it a bug?
Regards,
Timo
Used: smartClient Version: SC_SNAPSHOT-2011-05-14/PowerEdition Deployment (built 2011-05-14)
after migrating from build 20110314 to build 20110514 I get many error messages from a Validator
Code:
=== 2011-05-15 12:17:57,837 [0-17] INFO IDACall - Performing 1 operation(s) === 2011-05-15 12:17:57,838 [0-17] DEBUG AppBase - [builtinApplication.MDIbanBic_update] No userTypes defined, allowing anyone access to all operations for this application === 2011-05-15 12:17:57,838 [0-17] DEBUG AppBase - [builtinApplication.MDIbanBic_update] No public zero-argument method named '_MDIbanBic_update' found, performing generic datasource operation === 2011-05-15 12:17:57,838 [0-17] DEBUG ValidationContext - [builtinApplication.MDIbanBic_update] Adding validation errors at path '/MDIbanBic/country': {errorMessage=No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator.} === 2011-05-15 12:17:57,838 [0-17] DEBUG ValidationContext - [builtinApplication.MDIbanBic_update] Adding validation errors at path '/MDIbanBic/environment': {errorMessage=No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator.} === 2011-05-15 12:17:57,838 [0-17] DEBUG ValidationContext - [builtinApplication.MDIbanBic_update] Adding validation errors at path '/MDIbanBic/publicaccess': {errorMessage=No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator.} === 2011-05-15 12:17:57,838 [0-17] INFO Validation - [builtinApplication.MDIbanBic_update] Validation error: [ { country:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." }, environment:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." }, publicaccess:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." } } ] === 2011-05-15 12:17:57,838 [0-17] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8 === 2011-05-15 12:17:57,839 [0-17] DEBUG RPCManager - non-DMI response, dropExtraFields: false
Code:
<DataSource dbName="mainDataBase" tableName="MDIBANBIC" ID="MDIbanBic" dataSourceVersion="1" serverType="sql"> <fields> <field title="primary Key" primaryKey="true" name="pk" hidden="true" type="sequence"></field> <field title="IBAN" exportTitle="iban" name="iban" length="34" type="text" required="true" ></field> <field title="BIC" exportTitle="bic" name="bic" length="11" type="text" required="true" ></field> <field title="Name" exportTitle="name" name="name" length="70" type="text" required="true" ></field> <field title="Street" exportTitle="street" name="street" length="140" type="text"></field> <field title="City" exportTitle="city" name="city" length="70" type="text"></field> <field title="Country" exportTitle="country" name="country" length="70" type="enum"> <valueMap> <value ID="AF">Afghanistan</value> <value ID="AX">Aaland Islands</value> <value ID="AL">Albania</value> <value ID="DZ">Algeria</value> <value ID="AS">American Samoa</value> <value ID="EH">Western Sahara</value> <value ID="YE">Yemen</value> <value ID="ZM">Zambia</value> <value ID="ZW">Zimbabwe</value> </valueMap> </field> <field hidden="false" title="Public" exportTitle="public" name="publicaccess" defaultValue="false" type="enum" required="true"> <valueMap> <value ID="true">true</value> <value ID="false">false</value> </valueMap> </field> <field hidden="false" title="Environment" name="environment" length="10" type="enum"> <valueMap> <value ID="Test">Test</value> <value ID="Production">Production</value> </valueMap> </field> <field hidden="false" title="Client" name="client" length="3" type="text"></field> </fields> <operationBindings> <operationBinding requiresAuthentication="true" operationType="fetch"> <whereClause>((MDIBANBIC.client = $session.client AND MDIBANBIC.environment = $session.environment) OR MDIBANBIC.publicaccess = 'true' ) AND ($defaultWhereClause)</whereClause> </operationBinding> </operationBindings> </DataSource>
DSResonse:
Code:
[ { queueStatus:-1, errors:[ { country:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." }, environment:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." }, publicaccess:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." } } ], isDSResponse:true, invalidateCache:false, status:-4, data:null } ]
At the start of application I get the following message for each! datasource.
Code:
=== 2011-05-15 12:36:08,871 [main] INFO ISCInit - Isomorphic SmartClient Framework - Initializing === 2011-05-15 12:36:08,877 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH === 2011-05-15 12:36:08,995 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/Users/timo/Documents/workspace/pay/war/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties === 2011-05-15 12:36:08,995 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH === 2011-05-15 12:36:08,995 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH === 2011-05-15 12:36:08,999 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/Users/timo/Documents/workspace/pay/war/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties === 2011-05-15 12:36:08,999 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH === 2011-05-15 12:36:09,002 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/Users/timo/Documents/workspace/pay/war/WEB-INF/classes/server.properties === 2011-05-15 12:36:09,022 [main] INFO Logger - Logging system started. === 2011-05-15 12:36:09,023 [main] INFO ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2011-05-14/PowerEdition Deployment 2011-05-14) - Initialization Complete === 2011-05-15 12:36:09,024 [main] INFO ISCInit - Auto-detected webRoot - using: /Users/timo/Documents/workspace/pay/war === 2011-05-15 12:36:12,482 [main] INFO PreCache - Isomorphic PreCache servlet loading === 2011-05-15 12:36:12,495 [main] INFO PoolManager - SmartClient pooling disabled for 'DataSource' objects === 2011-05-15 12:36:12,533 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/DataSource.ds.xml: 5ms === 2011-05-15 12:36:12,540 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/builtinTypes.xml: 4ms === 2011-05-15 12:36:12,590 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/DataSourceField.ds.xml: 5ms === 2011-05-15 12:36:12,607 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/Validator.ds.xml: 2ms === 2011-05-15 12:36:12,616 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/ValueMap.ds.xml: 2ms === 2011-05-15 12:36:12,620 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/InstantDataApp.ds.xml: 3ms === 2011-05-15 12:36:12,656 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/Application.ds.xml: 2ms === 2011-05-15 12:36:12,660 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/IDAPage.ds.xml: 1ms === 2011-05-15 12:36:12,670 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/IDAUserType.ds.xml: 3ms === 2011-05-15 12:36:12,676 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/IDAOperation.ds.xml: 2ms === 2011-05-15 12:36:12,694 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/Canvas.ds.xml: 10ms === 2011-05-15 12:36:12,757 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/MethodDeclaration.ds.xml: 2ms === 2011-05-15 12:36:12,782 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/Img.ds.xml: 2ms === 2011-05-15 12:36:12,789 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/StatefulCanvas.ds.xml: 3ms === 2011-05-15 12:36:12,802 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/Button.ds.xml: 2ms === 2011-05-15 12:36:12,807 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/ListViewer.ds.xml: 1ms === 2011-05-15 12:36:12,824 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/ListGrid.ds.xml: 15ms === 2011-05-15 12:36:12,861 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/DynamicForm.ds.xml: 4ms === 2011-05-15 12:36:12,881 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/FormItem.ds.xml: 6ms === 2011-05-15 12:36:12,953 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/DetailViewer.ds.xml: 2ms === 2011-05-15 12:36:12,961 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/DetailViewerField.ds.xml: 2ms === 2011-05-15 12:36:12,966 [main] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/isomorphicXML.ds.xml: 1ms === 2011-05-15 12:36:12,968 [main] INFO PreCache - Isomorphic PreCache complete (486ms) === 2011-05-15 12:36:31,832 [l0-0] INFO RequestContext - URL: '/pay/', User-Agent: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; de-de) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1': Safari with Accept-Encoding header === 2011-05-15 12:36:31,847 [l0-0] INFO Compression - /pay/: 8026 -> 2881 bytes === 2011-05-15 12:36:32,121 [l0-0] INFO Compression - /pay/pay/pay.nocache.js: 8123 -> 3243 bytes === 2011-05-15 12:36:32,128 [l0-5] INFO RequestContext - URL: '/pay/sc/DataSourceLoader', User-Agent: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; de-de) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1': Safari with Accept-Encoding header === 2011-05-15 12:36:32,130 [l0-4] INFO Compression - /pay/pay/sc/modules/ISC_Core.js: 684623 -> 177394 bytes === 2011-05-15 12:36:32,210 [l0-5] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/datasource/DSC2B_PAYINFO_PAIN_001.ds.xml: 21ms === 2011-05-15 12:36:32,292 [l0-5] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/OperationBinding.ds.xml: 3ms === 2011-05-15 12:36:32,325 [l0-5] DEBUG XML - Parsed XML from /Users/timo/Documents/workspace/pay/war/pay/sc/system/schema/ServerObject.ds.xml: 2ms === 2011-05-15 12:36:32,330 [l0-5] DEBUG ValidationContext - Adding validation errors at path '/DataSource[@ID=DSC2B_PAYINFO_PAIN_001]/operationBindings/0/operationBinding/serverObject/serverObject/lookupStyle': {errorMessage=No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator.} === 2011-05-15 12:36:32,331 [l0-5] DEBUG ValidationContext - Adding validation errors at path '/DataSource[@ID=DSC2B_PAYINFO_PAIN_001]/operationBindings/2/operationBinding/serverObject/serverObject/lookupStyle': {errorMessage=No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator.} === 2011-05-15 12:36:32,337 [l0-5] WARN Validation - Validation errors validating a 'DataSource': { "/DataSource[@ID=DSC2B_PAYINFO_PAIN_001]/operationBindings/0/operationBinding/serverObject/serverObject":{ recordPath:"/DataSource[@ID=DSC2B_PAYINFO_PAIN_001]/operationBindings/0/operationBinding/serverObject/serverObject", lookupStyle:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." } }, "/DataSource[@ID=DSC2B_PAYINFO_PAIN_001]/operationBindings/2/operationBinding/serverObject/serverObject":{ recordPath:"/DataSource[@ID=DSC2B_PAYINFO_PAIN_001]/operationBindings/2/operationBinding/serverObject/serverObject", lookupStyle:{ errorMessage:"No built-in validator named '' was found. Set the clientOnly property to true if this is a custom validator." } } }
What has to change here, or is it a bug?
Regards,
Timo
Used: smartClient Version: SC_SNAPSHOT-2011-05-14/PowerEdition Deployment (built 2011-05-14)
Comment