Hi Isomorphic,
I'm developing a new feature and because of this bug I'm currently using v12.1p_2022-03-16 instead of 12.0p.
I saw a log message in the Developer Console that I could not explain (I thought it was mine, but I'm pretty sure it's not):
This happens when I filter in the ListGrid filterRow (Go to the search field of the column, press Enter with an unchanged search expression of "H", resulting in a FilterEditorSubmitEvent).
When I change it to "Z", this happens:
I remembered this post of yours and entered this in the Developer Console's "Evaluate JS Expression" box:
This is a pretty cool feature to debug and I think would be a great addition to the SmartClient FAQ / SmartGWT FAQ, as there are not many hits when searching the forum for "traceLogMessage". Anyway, this is what I get now as a trace when I switch from "H" to "Z":
Does this help you?
Best regards
Blama
I'm developing a new feature and because of this bug I'm currently using v12.1p_2022-03-16 instead of 12.0p.
I saw a log message in the Developer Console that I could not explain (I thought it was mine, but I'm pretty sure it's not):
Code:
15:12:21.431:TMR0:WARN:Log:H is equal to H 15:12:21.433:TMR0:WARN:Log:H is equal to H
When I change it to "Z", this happens:
Code:
15:15:17.016:TMR2:WARN:Log:Z is less restrictive than H 15:15:17.017:TMR2:WARN:Log:Z is less restrictive than H 15:15:17.039:TMR2:WARN:Log:Z is equal to Z
Code:
Log.traceLogMessage(".*(restrictive|equal).*")
Code:
15:21:10.892:TMR4:WARN:Log:traceLogMessage(): pattern '/.*(restrictive|equal).*/i' matched, stack trace: compareCriteria(_90=>Obj{_constructor:AdvancedCriteria}, _91=>Obj{_constructor:AdvancedCriteria}, _92=>Obj{ID:iContainsPattern}, _93=>[DataSource ID:V_LEAD_MANAGEMENT]) DataSource.compareAdvancedCriteria(_1=>Obj{_constructor:AdvancedCriteria}, _2=>Obj{_constructor:AdvancedCriteria}, _3=>undef) anonymous(_90=>Obj{_constructor:AdvancedCriteria}, _91=>Obj{_constructor:AdvancedCriteria}, _92=>Obj{ID:and}, _93=>[DataSource ID:V_LEAD_MANAGEMENT]) ** recursed on DataSource.compareAdvancedCriteria 15:21:10.892:TMR4:WARN:Log:Z is less restrictive than H 15:21:10.895:TMR4:WARN:Log:traceLogMessage(): pattern '/.*(restrictive|equal).*/i' matched, stack trace: compareCriteria(_90=>Obj{_constructor:AdvancedCriteria}, _91=>Obj{_constructor:AdvancedCriteria}, _92=>Obj{ID:iContainsPattern}, _93=>[DataSource ID:V_LEAD_MANAGEMENT]) DataSource.compareAdvancedCriteria(_1=>Obj{_constructor:AdvancedCriteria}, _2=>Obj{_constructor:AdvancedCriteria}, _3=>undef) anonymous(_90=>Obj{_constructor:AdvancedCriteria}, _91=>Obj{_constructor:AdvancedCriteria}, _92=>Obj{ID:and}, _93=>[DataSource ID:V_LEAD_MANAGEMENT]) ** recursed on DataSource.compareAdvancedCriteria 15:21:10.894:TMR4:WARN:Log:Z is less restrictive than H 15:21:10.911:TMR4:WARN:Log:traceLogMessage(): pattern '/.*(restrictive|equal).*/i' matched, stack trace: compareCriteria(_90=>Obj{_constructor:AdvancedCriteria}, _91=>Obj{_constructor:AdvancedCriteria}, _92=>Obj{ID:iContainsPattern}, _93=>[DataSource ID:V_LEAD_MANAGEMENT]) DataSource.compareAdvancedCriteria(_1=>Obj{_constructor:AdvancedCriteria}, _2=>Obj{_constructor:AdvancedCriteria}, _3=>undef) anonymous(_90=>Obj{_constructor:AdvancedCriteria}, _91=>Obj{_constructor:AdvancedCriteria}, _92=>Obj{ID:and}, _93=>[DataSource ID:V_LEAD_MANAGEMENT]) ** recursed on DataSource.compareAdvancedCriteria 15:21:10.910:TMR4:WARN:Log:Z is equal to Z
Best regards
Blama
Comment