Hi,
We're running with SmartGWT 4.0p. We've discovered a problem when a selection changed handler and a double click handler are attached to a grid, if the 1st one triggers RPC requests.
As I've seen in the docs and the forums, a prompt is inserted when a datasource request is issued to make it blocking, to avoid incorrect sequences of actions that could lead to inconsistent results.
I've tried to set DSRequest.setShowPrompt(false) on the 3 fetchData issued when grid row is selected; it helps but doesn't totally solve the problem: before that, double clicks were all skipped, now maybe 1 over 2 or 3.
The only workaround I've found so far is to delay the fetch calls with a timer, but this can't be a permanent fix.
Fetch data code called on record selection:
Server logs when row is selected
The 3 RPC requests from developer console:
Thanks in advance for your help
Regards
Antoine
We're running with SmartGWT 4.0p. We've discovered a problem when a selection changed handler and a double click handler are attached to a grid, if the 1st one triggers RPC requests.
As I've seen in the docs and the forums, a prompt is inserted when a datasource request is issued to make it blocking, to avoid incorrect sequences of actions that could lead to inconsistent results.
I've tried to set DSRequest.setShowPrompt(false) on the 3 fetchData issued when grid row is selected; it helps but doesn't totally solve the problem: before that, double clicks were all skipped, now maybe 1 over 2 or 3.
The only workaround I've found so far is to delay the fetch calls with a timer, but this can't be a permanent fix.
Fetch data code called on record selection:
Code:
opForm.setValues(record.toMap());
DSRequest req = new DSRequest();
req.setShowPrompt(false);
buForm.fetchData(new Criteria(DSBusinessUnit.ID, record.getAttribute(BUNIT_ID)), null, req);
req.setOperationType(DSOperationType.FETCH);
req.setOperationId(DSOperatorAssignment.ASSIGNEDGROUPS_OP_ID);
groupsForms.fetchData(new Criteria("OPERATOR_ID", record.getAttribute(ID)), null, req);
req.setOperationId(DSBusinessUnitAssignment.OPERATORASSIGNEDBUSINESSUNITS_OP_ID);
assignedBusForm.fetchData(new Criteria("OPERATOR_ID", record.getAttribute(ID)), null, req);
Code:
click
event received !!! com.fircosoft.cdb.client.inspector.InspectElementEvent
=== 2014-01-23 09:13:46,191 [0-18] DEBUG IDACall - Header Name:Value pair: Accept:*/*
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Accept:*/*
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Accept-Language:fr-be
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Referer:http://127.0.0.1:8888/Application.jsp?gwt.codesvr=127.0.0.1:9997#ADM_OPER.DEFAULT
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Content-Type:application/x-www-form-urlencoded; charset=UTF-8
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Accept-Encoding:gzip, deflate
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Host:127.0.0.1:8888
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Content-Length:1186
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Connection:Keep-Alive
=== 2014-01-23 09:13:46,191 [0-19] DEBUG IDACall - Header Name:Value pair: Cache-Control:no-cache
=== 2014-01-23 09:13:46,192 [0-19] DEBUG IDACall - Header Name:Value pair: Cookie:SPRING_SECURITY_REMEMBER_ME_COOKIE=KE1BU1RFUik6MTM5MTYwMjcxMTIzNDphY2M2NDZmZDliN2IxMjdkNTllYjI1YWUzZDk4YzIxMw; GLog=%7B%0D%20%20%20%20left%3A1536%2C%20%0D%20%20%20%20top%3A169%2C%20%0D%20%20%20%20width%3A1570%2C%20%0D%20%20%20%20height%3A798%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20trackRPC%3Atrue%0D%7D; JSESSIONID=datb7acdk481
=== 2014-01-23 09:13:46,192 [0-19] DEBUG IDACall - session exists: datb7acdk481
=== 2014-01-23 09:13:46,192 [0-19] DEBUG IDACall - remote user: (MASTER)
=== 2014-01-23 09:13:46,192 [0-20] DEBUG IDACall - Header Name:Value pair: Accept:*/*
=== 2014-01-23 09:13:46,192 [0-20] DEBUG IDACall - Header Name:Value pair: Accept-Language:fr-be
=== 2014-01-23 09:13:46,192 [0-20] DEBUG IDACall - Header Name:Value pair: Referer:http://127.0.0.1:8888/Application.jsp?gwt.codesvr=127.0.0.1:9997#ADM_OPER.DEFAULT
=== 2014-01-23 09:13:46,192 [0-20] DEBUG IDACall - Header Name:Value pair: Content-Type:application/x-www-form-urlencoded; charset=UTF-8
=== 2014-01-23 09:13:46,192 [0-20] DEBUG IDACall - Header Name:Value pair: Accept-Encoding:gzip, deflate
=== 2014-01-23 09:13:46,191 [0-18] DEBUG IDACall - Header Name:Value pair: Accept-Language:fr-be
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Referer:http://127.0.0.1:8888/Application.jsp?gwt.codesvr=127.0.0.1:9997#ADM_OPER.DEFAULT
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Content-Type:application/x-www-form-urlencoded; charset=UTF-8
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Accept-Encoding:gzip, deflate
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Host:127.0.0.1:8888
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Content-Length:972
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Connection:Keep-Alive
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Cache-Control:no-cache
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - Header Name:Value pair: Cookie:SPRING_SECURITY_REMEMBER_ME_COOKIE=KE1BU1RFUik6MTM5MTYwMjcxMTIzNDphY2M2NDZmZDliN2IxMjdkNTllYjI1YWUzZDk4YzIxMw; GLog=%7B%0D%20%20%20%20left%3A1536%2C%20%0D%20%20%20%20top%3A169%2C%20%0D%20%20%20%20width%3A1570%2C%20%0D%20%20%20%20height%3A798%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20trackRPC%3Atrue%0D%7D; JSESSIONID=datb7acdk481
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - session exists: datb7acdk481
=== 2014-01-23 09:13:46,192 [0-18] DEBUG IDACall - remote user: (MASTER)
=== 2014-01-23 09:13:46,192 [0-19] INFO RequestContext - URL: '/application/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2014-01-23 09:13:46,193 [0-18] INFO RequestContext - URL: '/application/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2014-01-23 09:13:46,192 [0-20] DEBUG IDACall - Header Name:Value pair: User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - Header Name:Value pair: Host:127.0.0.1:8888
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - Header Name:Value pair: Content-Length:1205
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - Header Name:Value pair: Connection:Keep-Alive
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - Header Name:Value pair: Cache-Control:no-cache
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - Header Name:Value pair: Cookie:SPRING_SECURITY_REMEMBER_ME_COOKIE=KE1BU1RFUik6MTM5MTYwMjcxMTIzNDphY2M2NDZmZDliN2IxMjdkNTllYjI1YWUzZDk4YzIxMw; GLog=%7B%0D%20%20%20%20left%3A1536%2C%20%0D%20%20%20%20top%3A169%2C%20%0D%20%20%20%20width%3A1570%2C%20%0D%20%20%20%20height%3A798%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20trackRPC%3Atrue%0D%7D; JSESSIONID=datb7acdk481
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - session exists: datb7acdk481
=== 2014-01-23 09:13:46,193 [0-20] DEBUG IDACall - remote user: (MASTER)
=== 2014-01-23 09:13:46,194 [0-20] INFO RequestContext - URL: '/application/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2014-01-23 09:13:46,208 [0-20] DEBUG XML - Parsed XML from (in memory stream): 14ms
=== 2014-01-23 09:13:46,208 [0-19] DEBUG XML - Parsed XML from (in memory stream): 15ms
=== 2014-01-23 09:13:46,209 [0-18] DEBUG XML - Parsed XML from (in memory stream): 16ms
=== 2014-01-23 09:13:46,209 [0-19] DEBUG RPCManager - Processing 1 requests.
=== 2014-01-23 09:13:46,209 [0-20] DEBUG RPCManager - Processing 1 requests.
=== 2014-01-23 09:13:46,210 [0-19] DEBUG DSRequest - Caching instance 159 of DS operatorAssignment from DSRequest.getDataSource()
=== 2014-01-23 09:13:46,210 [0-20] DEBUG DSRequest - Caching instance 108 of DS businessUnitAssignment from DSRequest.getDataSource()
=== 2014-01-23 09:13:46,210 [0-19] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
OPERATOR_ID:"65"
},
operationConfig:{
dataSource:"operatorAssignment",
operationType:"fetch",
textMatchStyle:"exact"
},
startRow:0,
endRow:75,
componentId:"isc_AdvancedListGrid_0",
useStrictJSON:true,
appID:"builtinApplication",
operation:"assignedGroups",
oldValues:{
OPERATOR_ID:"65"
}
}
=== 2014-01-23 09:13:46,210 [0-20] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
OPERATOR_ID:"65"
},
operationConfig:{
dataSource:"businessUnitAssignment",
operationType:"fetch",
textMatchStyle:"exact"
},
startRow:0,
endRow:75,
componentId:"isc_AdvancedListGrid_1",
useStrictJSON:true,
appID:"builtinApplication",
operation:"operatorAssignedBusinessUnits",
oldValues:{
OPERATOR_ID:"65"
}
}
=== 2014-01-23 09:13:46,210 [0-19] INFO IDACall - Performing 1 operation(s)
=== 2014-01-23 09:13:46,210 [0-20] INFO IDACall - Performing 1 operation(s)
=== 2014-01-23 09:13:46,210 [0-18] DEBUG RPCManager - Processing 1 requests.
=== 2014-01-23 09:13:46,210 [0-19] DEBUG Relation - Caching instance of toDS 'operatorGroup' in the DSRequest map
=== 2014-01-23 09:13:46,210 [0-20] DEBUG Relation - Caching instance of toDS 'businessUnit' in the DSRequest map
=== 2014-01-23 09:13:46,210 [0-20] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
=== 2014-01-23 09:13:46,211 [0-20] DEBUG DeclarativeSecurity - DataSource businessUnitAssignment is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,211 [0-20] DEBUG DeclarativeSecurity - Processing security checks for DataSource businessUnit, field ID
=== 2014-01-23 09:13:46,211 [0-18] DEBUG DSRequest - Caching instance 128 of DS businessUnit from DSRequest.getDataSource()
=== 2014-01-23 09:13:46,211 [0-19] DEBUG Relation - Caching instance of toDS 'operator' in the DSRequest map
=== 2014-01-23 09:13:46,211 [0-19] DEBUG Relation - Caching instance of toDS 'businessUnit' in the DSRequest map
=== 2014-01-23 09:13:46,211 [0-18] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
ID:"1"
},
operationConfig:{
dataSource:"businessUnit",
operationType:"fetch"
},
componentId:"isc_InspectorView_2_0",
useStrictJSON:true,
appID:"builtinApplication",
operation:"businessUnit_fetch",
oldValues:{
ID:"1"
}
}
=== 2014-01-23 09:13:46,211 [0-18] INFO IDACall - Performing 1 operation(s)
=== 2014-01-23 09:13:46,211 [0-20] DEBUG DeclarativeSecurity - DataSource businessUnit is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,211 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
=== 2014-01-23 09:13:46,211 [0-19] DEBUG DeclarativeSecurity - DataSource operatorAssignment is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,211 [0-20] DEBUG DeclarativeSecurity - Processing security checks for DataSource businessUnit, field NAME
=== 2014-01-23 09:13:46,211 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operatorGroup, field ID
=== 2014-01-23 09:13:46,211 [0-19] DEBUG DeclarativeSecurity - DataSource operatorGroup is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,211 [0-18] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
=== 2014-01-23 09:13:46,212 [0-18] DEBUG DeclarativeSecurity - DataSource businessUnit is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operatorGroup, field NAME
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - DataSource operatorGroup is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operator, field ID
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - DataSource operator is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operator, field NAME
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - DataSource operator is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,211 [0-20] DEBUG DeclarativeSecurity - DataSource businessUnit is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operator, field ID
=== 2014-01-23 09:13:46,212 [0-18] DEBUG AppBase - [builtinApplication.businessUnit_fetch] No userTypes defined, allowing anyone access to all operations for this application
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operator, field BUNIT_ID
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operator, field ID
=== 2014-01-23 09:13:46,212 [0-20] DEBUG AppBase - [builtinApplication.operatorAssignedBusinessUnits] No userTypes defined, allowing anyone access to all operations for this application
=== 2014-01-23 09:13:46,212 [0-18] DEBUG AppBase - [builtinApplication.businessUnit_fetch] No public zero-argument method named '_businessUnit_fetch' found, performing generic datasource operation
=== 2014-01-23 09:13:46,212 [0-20] DEBUG AppBase - [builtinApplication.operatorAssignedBusinessUnits] No public zero-argument method named '_operatorAssignedBusinessUnits' found, performing generic datasource operation
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource operator, field BUNIT_NAME
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource businessUnit, field ID
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - DataSource businessUnit is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,212 [0-19] DEBUG DeclarativeSecurity - Processing security checks for DataSource businessUnit, field NAME
=== 2014-01-23 09:13:46,213 [0-19] DEBUG DeclarativeSecurity - DataSource businessUnit is not in the pre-checked list, processing...
=== 2014-01-23 09:13:46,213 [0-18] INFO SQLDataSource - [builtinApplication.businessUnit_fetch] Performing fetch operation with
criteria: {ID:"1"} values: {ID:"1"}
=== 2014-01-23 09:13:46,213 [0-20] INFO SQLDataSource - [builtinApplication.operatorAssignedBusinessUnits] Performing fetch operation with
criteria: {OPERATOR_ID:"65"} values: {OPERATOR_ID:"65"}
=== 2014-01-23 09:13:46,213 [0-19] DEBUG AppBase - [builtinApplication.assignedGroups] No userTypes defined, allowing anyone access to all operations for this application
=== 2014-01-23 09:13:46,213 [0-19] DEBUG AppBase - [builtinApplication.assignedGroups] No public zero-argument method named '_assignedGroups' found, performing generic datasource operation
=== 2014-01-23 09:13:46,213 [0-19] DEBUG com.fircosoft.cdb.server.permission.DSPermissionHandler - Permission where clause built: (1 = 1)
=== 2014-01-23 09:13:46,213 [0-18] INFO SQLDataSource - [builtinApplication.businessUnit_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE
$defaultWhereClause AND DELETED = 0
=== 2014-01-23 09:13:46,213 [0-19] INFO SQLDataSource - [builtinApplication.assignedGroups] Performing fetch operation with
criteria: {OPERATOR_ID:"65"} values: {OPERATOR_ID:"65"}
=== 2014-01-23 09:13:46,214 [0-20] INFO SQLDataSource - [builtinApplication.operatorAssignedBusinessUnits] 108: Executing SQL query on 'FIRCO': select SEC_BUSINESS_UNIT.*
from SEC_BUSINESS_UNIT, SEC_GROUP
inner join SEC_ASSIGNED_DOMAIN on
SEC_GROUP.ID = SEC_ASSIGNED_DOMAIN.GROUP_ID AND SEC_ASSIGNED_DOMAIN.GROUP_ID IN (SELECT SEC_MEMBERSHIP.GROUP_ID FROM SEC_MEMBERSHIP WHERE SEC_MEMBERSHIP.OPERATOR_ID = '65')
where
SEC_BUSINESS_UNIT.ID = SEC_ASSIGNED_DOMAIN.BUNIT_ID
order by SEC_BUSINESS_UNIT.NAME
=== 2014-01-23 09:13:46,215 [0-19] INFO SQLDataSource - [builtinApplication.assignedGroups] 159: Executing SQL query on 'FIRCO': select SEC_GROUP.*, SEC_PROFILE.NAME AS PROFILE_NAME
from SEC_PROFILE, SEC_GROUP
inner join SEC_MEMBERSHIP on SEC_GROUP.ID = SEC_MEMBERSHIP.GROUP_ID and SEC_MEMBERSHIP.OPERATOR_ID = '65'
where SEC_GROUP.PROFILE_ID = SEC_PROFILE.ID
order by SEC_GROUP.NAME
=== 2014-01-23 09:13:46,216 [0-18] INFO SQLDataSource - [builtinApplication.businessUnit_fetch] 128: Executing SQL query on 'FIRCO': SELECT SEC_BUSINESS_UNIT.ACTIVE, SEC_BUSINESS_UNIT.CODE, SEC_BUSINESS_UNIT.CREATED, SEC_BUSINESS_UNIT.CREATED_BY, SEC_BUSINESS_UNIT.DELETED, SEC_BUSINESS_UNIT.DESCRIPTION, SEC_BUSINESS_UNIT.ID, SEC_BUSINESS_UNIT.NAME, SEC_BUSINESS_UNIT.UPDATED, SEC_BUSINESS_UNIT.UPDATED_BY FROM SEC_BUSINESS_UNIT WHERE
(SEC_BUSINESS_UNIT.ID=1) AND DELETED = 0
=== 2014-01-23 09:13:46,216 [0-20] DEBUG PoolableSQLConnectionFactory - [builtinApplication.operatorAssignedBusinessUnits] makeObject() created an unpooled Connection '1586562795'
=== 2014-01-23 09:13:46,216 [0-20] DEBUG SQLConnectionManager - [builtinApplication.operatorAssignedBusinessUnits] Borrowed connection '1586562795'
=== 2014-01-23 09:13:46,216 [0-20] DEBUG SQLDriver - [builtinApplication.operatorAssignedBusinessUnits] About to execute SQL query in 'FIRCO' using connection '1586562795'
=== 2014-01-23 09:13:46,216 [0-20] INFO SQLDriver - [builtinApplication.operatorAssignedBusinessUnits] Executing SQL query on 'FIRCO': select SEC_BUSINESS_UNIT.*
from SEC_BUSINESS_UNIT, SEC_GROUP
inner join SEC_ASSIGNED_DOMAIN on
SEC_GROUP.ID = SEC_ASSIGNED_DOMAIN.GROUP_ID AND SEC_ASSIGNED_DOMAIN.GROUP_ID IN (SELECT SEC_MEMBERSHIP.GROUP_ID FROM SEC_MEMBERSHIP WHERE SEC_MEMBERSHIP.OPERATOR_ID = '65')
where
SEC_BUSINESS_UNIT.ID = SEC_ASSIGNED_DOMAIN.BUNIT_ID
order by SEC_BUSINESS_UNIT.NAME
=== 2014-01-23 09:13:46,217 [0-19] DEBUG PoolableSQLConnectionFactory - [builtinApplication.assignedGroups] makeObject() created an unpooled Connection '643007915'
=== 2014-01-23 09:13:46,217 [0-19] DEBUG SQLConnectionManager - [builtinApplication.assignedGroups] Borrowed connection '643007915'
=== 2014-01-23 09:13:46,217 [0-19] DEBUG SQLDriver - [builtinApplication.assignedGroups] About to execute SQL query in 'FIRCO' using connection '643007915'
=== 2014-01-23 09:13:46,217 [0-19] INFO SQLDriver - [builtinApplication.assignedGroups] Executing SQL query on 'FIRCO': select SEC_GROUP.*, SEC_PROFILE.NAME AS PROFILE_NAME
from SEC_PROFILE, SEC_GROUP
inner join SEC_MEMBERSHIP on SEC_GROUP.ID = SEC_MEMBERSHIP.GROUP_ID and SEC_MEMBERSHIP.OPERATOR_ID = '65'
where SEC_GROUP.PROFILE_ID = SEC_PROFILE.ID
order by SEC_GROUP.NAME
=== 2014-01-23 09:13:46,218 [0-18] DEBUG PoolableSQLConnectionFactory - [builtinApplication.businessUnit_fetch] makeObject() created an unpooled Connection '1727735835'
=== 2014-01-23 09:13:46,218 [0-18] DEBUG SQLConnectionManager - [builtinApplication.businessUnit_fetch] Borrowed connection '1727735835'
=== 2014-01-23 09:13:46,218 [0-18] DEBUG SQLDriver - [builtinApplication.businessUnit_fetch] About to execute SQL query in 'FIRCO' using connection '1727735835'
=== 2014-01-23 09:13:46,218 [0-18] INFO SQLDriver - [builtinApplication.businessUnit_fetch] Executing SQL query on 'FIRCO': SELECT SEC_BUSINESS_UNIT.ACTIVE, SEC_BUSINESS_UNIT.CODE, SEC_BUSINESS_UNIT.CREATED, SEC_BUSINESS_UNIT.CREATED_BY, SEC_BUSINESS_UNIT.DELETED, SEC_BUSINESS_UNIT.DESCRIPTION, SEC_BUSINESS_UNIT.ID, SEC_BUSINESS_UNIT.NAME, SEC_BUSINESS_UNIT.UPDATED, SEC_BUSINESS_UNIT.UPDATED_BY FROM SEC_BUSINESS_UNIT WHERE
(SEC_BUSINESS_UNIT.ID=1) AND DELETED = 0
=== 2014-01-23 09:13:46,223 [0-18] INFO DSResponse - [builtinApplication.businessUnit_fetch] DSResponse: List with 1 items
=== 2014-01-23 09:13:46,223 [0-18] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2014-01-23 09:13:46,224 [0-18] DEBUG RPCManager - non-DMI response, dropExtraFields: false
=== 2014-01-23 09:13:46,224 [0-18] DEBUG SQLDriver - Freeing SQLDriver dbConnection 1727735835
=== 2014-01-23 09:13:46,224 [0-19] INFO DSResponse - [builtinApplication.assignedGroups] DSResponse: List with 2 items
=== 2014-01-23 09:13:46,224 [0-18] DEBUG SQLConnectionManager - About to close PoolGuardConnectionWrapper with hashcode "1727735835"
=== 2014-01-23 09:13:46,224 [0-19] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
200 - POST /application/sc/IDACall?isc_rpc=1&isc_v=v9.0p_2013-10-01&isc_xhr=1 (127.0.0.1) 426 bytes
=== 2014-01-23 09:13:46,224 [0-19] DEBUG RPCManager - non-DMI response, dropExtraFields: false
=== 2014-01-23 09:13:46,225 [0-19] DEBUG SQLDriver - Freeing SQLDriver dbConnection 643007915
=== 2014-01-23 09:13:46,225 [0-19] DEBUG SQLConnectionManager - About to close PoolGuardConnectionWrapper with hashcode "643007915"
200 - POST /application/sc/IDACall?isc_rpc=1&isc_v=v9.0p_2013-10-01&isc_xhr=1 (127.0.0.1) 649 bytes
=== 2014-01-23 09:13:46,261 [0-20] INFO DSResponse - [builtinApplication.operatorAssignedBusinessUnits] DSResponse: List with 121 items
=== 2014-01-23 09:13:46,261 [0-20] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2014-01-23 09:13:46,262 [0-20] DEBUG RPCManager - non-DMI response, dropExtraFields: false
=== 2014-01-23 09:13:46,324 [0-20] DEBUG SQLDriver - Freeing SQLDriver dbConnection 1586562795
=== 2014-01-23 09:13:46,324 [0-20] DEBUG SQLConnectionManager - About to close PoolGuardConnectionWrapper with hashcode "1586562795"
200 - POST /application/sc/IDACall?isc_rpc=1&isc_v=v9.0p_2013-10-01&isc_xhr=1 (127.0.0.1) 28024 bytes
Code:
{
"actionURL":"http://127.0.0.1:8888/application/sc/IDACall",
"showPrompt":false,
"transport":"xmlHttpRequest",
"promptStyle":"cursor",
"bypassCache":true,
"data":{
"criteria":{
"ID":"1"
},
"operationConfig":{
"dataSource":"businessUnit",
"repo":null,
"operationType":"fetch"
},
"componentId":"isc_InspectorView_2_0",
"useStrictJSON":true,
"appID":"builtinApplication",
"operation":"businessUnit_fetch",
"oldValues":{
"ID":"1"
}
}
}
Code:
{
dataSource:"operatorAssignment",
operationType:"fetch",
operationId:"assignedGroups",
componentId:"isc_AdvancedListGrid_0",
data:{
OPERATOR_ID:"65"
},
startRow:0,
endRow:75,
textMatchStyle:"exact",
resultSet:[ResultSet ID:isc_ResultSet_6 (created by: isc_AdvancedListGrid_0)],
callback:{
caller:[ResultSet ID:isc_ResultSet_6 (created by: isc_AdvancedListGrid_0)],
methodName:"fetchRemoteDataReply"
},
willHandleError:true,
showPrompt:false,
prompt:"Finding Records that match your criteria...",
oldValues:{
OPERATOR_ID:"65"
},
requestId:"operatorAssignment$62740",
clientContext:{
requestIndex:5
},
useStrictJSON:true,
fallbackToEval:true,
lastClientEventThreadCode:"MUP8",
bypassCache:true
}
Code:
{
dataSource:"businessUnitAssignment",
operationType:"fetch",
operationId:"operatorAssignedBusinessUnits",
componentId:"isc_AdvancedListGrid_1",
data:{
OPERATOR_ID:"65"
},
startRow:0,
endRow:75,
textMatchStyle:"exact",
resultSet:[ResultSet ID:isc_ResultSet_7 (created by: isc_AdvancedListGrid_1)],
callback:{
caller:[ResultSet ID:isc_ResultSet_7 (created by: isc_AdvancedListGrid_1)],
methodName:"fetchRemoteDataReply"
},
willHandleError:true,
showPrompt:false,
prompt:"Finding Records that match your criteria...",
oldValues:{
OPERATOR_ID:"65"
},
requestId:"businessUnitAssignment$62741",
clientContext:{
requestIndex:5
},
useStrictJSON:true,
fallbackToEval:true,
lastClientEventThreadCode:"MUP8",
bypassCache:true
}
Regards
Antoine