Type:
Bug
Status:
Closed
Priority:
Major
Resolution:
Fixed
Affects Version/s:
None
Component/s:
None
The issue is when a breakdown is selected and the user drag the recently run previous query back to the query tool before it can complete, the client sends CRC_QRY_getResultDocument_fromResultInstanceId with a query_result_instance_id. The xml_result table has not been run so the crc sends back
<ns4:response xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance " xsi:type="ns4:crc_xml_result_responseType">
<status>
<condition type="ERROR">Query result instance id 9657 not found</condition>
</status>
</ns4:response>
{"report":{"fcp":863.1999998092651,"ttfb":267.8999996185303,"pageVisibility":"visible","entityId":11234,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"6c887fff-9a05-4783-87f7-73aafdbb5cd8","navigationType":0,"readyForUser":906.8999996185303,"redirectCount":0,"resourceLoadedEnd":858.0999994277954,"resourceLoadedStart":278.0999994277954,"resourceTiming":[{"duration":18.100000381469727,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":278.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":278.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":296.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":18.5,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/898b8076c5e82f53cd816ca393e45a56-CDN/4x9nqn/820011/16zrvj4/41b71ca9fb0eed92dc73e9510f2744ee/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?jira.create.linked.issue=true&richediton=true&whisper-enabled=true","startTime":278.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":278.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":296.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":261.6000003814697,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/4c9c503fe98f210445831b0d7b0cdc33-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":278.5999994277954,"connectEnd":317.5999994277954,"connectStart":297.8999996185303,"domainLookupEnd":297.8999996185303,"domainLookupStart":297.8999996185303,"fetchStart":278.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":318,"responseEnd":540.1999998092651,"responseStart":402.29999923706055,"secureConnectionStart":307.5},{"duration":320.8999996185303,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/694e598c1ae48b0f96655173631cd247-CDN/4x9nqn/820011/16zrvj4/41b71ca9fb0eed92dc73e9510f2744ee/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true&whisper-enabled=true","startTime":278.69999980926514,"connectEnd":517.5,"connectStart":498.0999994277954,"domainLookupEnd":498.0999994277954,"domainLookupStart":498.0999994277954,"fetchStart":278.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":517.5,"responseEnd":599.5999994277954,"responseStart":534.0999994277954,"secureConnectionStart":507.5},{"duration":254.10000038146973,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/53f54e0ac3f00bb56b136b4d2fff2853-CDN/4x9nqn/820011/16zrvj4/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":278.8999996185303,"connectEnd":519.6999998092651,"connectStart":500.0999994277954,"domainLookupEnd":500.0999994277954,"domainLookupStart":500.0999994277954,"fetchStart":278.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":520,"responseEnd":533,"responseStart":531.1999998092651,"secureConnectionStart":509.5999994277954},{"duration":275.6000003814697,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":279.0999994277954,"connectEnd":539.1999998092651,"connectStart":516.0999994277954,"domainLookupEnd":516.0999994277954,"domainLookupStart":516,"fetchStart":279.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":539.1999998092651,"responseEnd":554.6999998092651,"responseStart":552.2999992370605,"secureConnectionStart":527.5},{"duration":281.4000005722046,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":279.29999923706055,"connectEnd":542.2999992370605,"connectStart":519.2999992370605,"domainLookupEnd":519.2999992370605,"domainLookupStart":519.1999998092651,"fetchStart":279.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":542.6999998092651,"responseEnd":560.6999998092651,"responseStart":558.5999994277954,"secureConnectionStart":530.6999998092651},{"duration":20.600000381469727,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/30748292e4ca68be6947d7969829384b-CDN/4x9nqn/820011/16zrvj4/4f66da484ef7d95a2a604d3ab014374c/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":279.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":279.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":300,"responseStart":0,"secureConnectionStart":0},{"duration":280.4000005722046,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/a9e270f026ecabffc9a59343e5439391/shortcuts.js?context=issuenavigation&context=issueaction","startTime":279.5999994277954,"connectEnd":544.2999992370605,"connectStart":521.1999998092651,"domainLookupEnd":521.1999998092651,"domainLookupStart":521.0999994277954,"fetchStart":279.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":544.3999996185303,"responseEnd":560,"responseStart":557.6999998092651,"secureConnectionStart":532.5999994277954},{"duration":18.800000190734863,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":432.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":432.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":451.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":387.1000003814697,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/8087506fefd02b4096991c90836b49f6-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":432.79999923706055,"connectEnd":800.3999996185303,"connectStart":781,"domainLookupEnd":781,"domainLookupStart":781,"fetchStart":432.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":800.3999996185303,"responseEnd":819.8999996185303,"responseStart":816.8999996185303,"secureConnectionStart":790.3999996185303},{"duration":387.5999994277954,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":463.5,"connectEnd":838.6999998092651,"connectStart":819.6999998092651,"domainLookupEnd":819.6999998092651,"domainLookupStart":819.6999998092651,"fetchStart":463.5,"redirectEnd":0,"redirectStart":0,"requestStart":838.7999992370605,"responseEnd":851.0999994277954,"responseStart":849.5999994277954,"secureConnectionStart":829},{"duration":357.69999980926514,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":500.3999996185303,"connectEnd":843.8999996185303,"connectStart":820.8999996185303,"domainLookupEnd":820.8999996185303,"domainLookupStart":820.8999996185303,"fetchStart":500.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":843.8999996185303,"responseEnd":858.0999994277954,"responseStart":856.5999994277954,"secureConnectionStart":832.1999998092651},{"duration":121.39999961853027,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":732.5,"connectEnd":838.1999998092651,"connectStart":820.0999994277954,"domainLookupEnd":820.0999994277954,"domainLookupStart":820.0999994277954,"fetchStart":732.5,"redirectEnd":0,"redirectStart":0,"requestStart":838.2999992370605,"responseEnd":853.8999996185303,"responseStart":852.3999996185303,"secureConnectionStart":828.5}],"fetchStart":91,"domainLookupStart":93,"domainLookupEnd":186,"connectStart":186,"connectEnd":218,"secureConnectionStart":196,"requestStart":218,"responseStart":268,"responseEnd":501,"domLoading":277,"domInteractive":951,"domContentLoadedEventStart":951,"domContentLoadedEventEnd":985,"domComplete":1055,"loadEventStart":1055,"loadEventEnd":1055,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":933.8999996185303},{"name":"bigPipe.sidebar-id.end","time":934.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":934.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":935.8999996185303},{"name":"activityTabFullyLoaded","time":999.7999992370605}],"measures":[],"correlationId":"4a463debdf5594","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":270,"dbReadsTimeInMs":108,"dbConnsTimeInMs":121,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}
If Check to see if the results are there and return them (the current code)
Else Run a query linking the qt_query_result_instance and the qt_query_result_type to get the name of the breakdown. If I get a result than the query is currently running and than return the following xml
<ns10:result name="PATIENT_GENDER_COUNT_XML">
<data type="int" column="Processing">-1</data>
<ns10:result>
Else assume that id send it is not valid and return the code Query result instance id 123 not found message