Announcement
Collapse
No announcement yet.
X
-
Ok, what's happening is that since you've defined a schema for "user", our built-in schema for <Mail> declarations is getting validated against that. Totally harmless error, don't worry about it.
Leave a comment:
-
OK, here are the surrounding logs.
Code:2019-11-05-10:51:26:530 -0500 DEBUG [qtp1693011102-114] Borrowing object for 'Mail' 2019-11-05-10:51:26:530 -0500 DEBUG [qtp1693011102-114] getInstanceFile (success): 'Mail' instance of datasources: 0ms 2019-11-05-10:51:26:531 -0500 DEBUG [qtp1693011102-114] Parsed XML from *\sc\system\schema\Mail.ds.xml: 0ms ... 2019-11-05-10:51:26:536 -0500 DEBUG [qtp1693011102-114] Validating a 'Object' at path '/Object[@ID=Mail]/fields' 2019-11-05-10:51:26:536 -0500 DEBUG [qtp1693011102-114] Borrowing object for 'user' 2019-11-05-10:51:26:536 -0500 DEBUG [qtp1693011102-114] Activated DataSource 1737 of type 'user' 2019-11-05-10:51:26:536 -0500 DEBUG [qtp1693011102-114] Looking up superDS of DataSource user: 'system' 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Borrowing object for 'system' 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Activated DataSource 74 of type 'system' 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Object delegating validation to type: user at /Object[@ID=Mail]/fields 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Validating a 'user' at path '/Object[@ID=Mail]/fields' 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Value provided for unknown field: user.type: value is: string 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Adding validation errors at path '/Object[@ID=Mail]/fields/user/userName': {errorMessage=Field is required} 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Done validating a 'user' at path '/Object[@ID=Mail]/fields': 0ms 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Value provided for unknown field: Object.user: value is: {type=string} 2019-11-05-10:51:26:537 -0500 DEBUG [qtp1693011102-114] Validating a 'Object' at path '/Object[@ID=Mail]/fields' 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Creating simple type validator for simple type: password 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Value provided for unknown field: Object.type: value is: string 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Value provided for unknown field: Object.password: value is: {type=string} 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Value provided for unknown field: Object.fields: value is: {templateFile={type=URL}, multiple={type=boolean}, to={type=string}, from={type=string}, replyTo={type=string}, cc={type=string}, bcc={type=string}, subject={type=string}, host={type=string}, port={type=string}, auth={type=string}, user={type=string}, password={type=string}} 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Done validating a 'Object' at path '': 6ms 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Time to convert java.util.HashMap to JS Object: 0ms 2019-11-05-10:51:26:538 -0500 WARN [qtp1693011102-114] Validation errors validating a 'Object': { "/Object[@ID=Mail]/fields/user":{ recordPath:"/Object[@ID=Mail]/fields/user", userName:{ errorMessage:"Field is required" }, } } 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] DataSource record created from XML with document element: 'Object': 7ms 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Created DataSource 2384 of type 'Mail' and assigned it to thread qtp1693011102-114 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Created DataSource 2384 of type 'Mail' in the pooling flow 2019-11-05-10:51:26:538 -0500 DEBUG [qtp1693011102-114] Activated DataSource 2384 of type 'Mail' 2019-11-05-10:51:26:539 -0500 DEBUG [qtp1693011102-114] For DataSource 'Mail', got instanceId 2384 2019-11-05-10:51:26:541 -0500 DEBUG [qtp1693011102-114] Time to convert java.util.HashMap to JS Object: 0ms 2019-11-05-10:51:26:541 -0500 DEBUG [qtp1693011102-114] Time to convert com.isomorphic.datasource.BasicDataSource to JS Object: 0ms 2019-11-05-10:51:26:541 -0500 DEBUG [qtp1693011102-114] Cleared and passivated DataSource 2384 of type 'Mail'
Leave a comment:
-
We're aware of the other issue. Still need to see the surrounding logs.
Leave a comment:
-
The warning only appears when the SmartClient Developer Console is first shown.
We are using SC.showConsole() to show the console.
We reported a similar warning here for our "script" DataSource which may shed some light on this.
Leave a comment:
-
Ok, this is probably harmless, but we need some context on how this warning appears. Is it in the middle of loading one of your DataSources, processing a DataSource operation, or something else? Please show the surrounding logs.
Leave a comment:
-
We do not have a DataSource named Mail.ds.xml, but we do have one named user.ds.xml which the warning message seems to be referring to since it has a required "userName" field.
We are not using the mail subsystem or custom tags.
Leave a comment:
-
Do you have a DataSource named Mail.ds.xml?
Are you using our mail subsystem?
Or perhaps just some custom tags in your DataSource that are <Mail>?
Leave a comment:
-
This is resolved; however, the following warning is now logged when opening the SmartClient Developer Console. We reported a similar warning before for our "script" data source. Can we safely ignore this warning as well?
Code:2019-10-29-09:52:28:482 -0400 WARN [qtp1250529959-59] Validation errors validating a 'Object': { "/Object[@ID=Mail]/fields/user":{ recordPath:"/Object[@ID=Mail]/fields/user", userName:{ errorMessage:"Field is required" }, } }
Leave a comment:
-
Hi guys - this took a little bit of time to track down, but should be resolved now in tomorrow's (Oct 19) build!
Leave a comment:
-
Isomorphic,
This error message still appears in the log with the following build.
SmartClient Version: v12.0p_2019-02-06/Pro Deployment (built 2019-02-06)
Thanks
Leave a comment:
-
FYI - this harmless (but admittedly alarming) error message will no longer appear in the logs as of the next patch build (Oct 5, 2018). Thanks for your patience.
Leave a comment:
-
As far as we understand this is a harmless error message and we just plan to make it clearer what’s going on. Is it blocking you somehow?
Leave a comment:
Leave a comment: