Icon View Incident Report

Serious Serious
Reported By: tom@lbrp.be
Reported On: 11/10/2023
For: Version 2.38 Build 1
# 4913 Dead Sessions with Open Views that Return Sensitive Results Can Cause Locking Error #300

The #300 will be triggered only when we've opened a specific view (BelcotaxVerzendingenExtra) and the connection got lost for some reason.

- Triggers #300 (BelcotaxVerzendingenExtra)
- Start Server
- Open Manager
- Open the View "BelcotaxVerzendingenExtra" in the Manager.
- Stop the Server
- Close Manager ? *No to All*
- Start Server
- Open Manager: ?? LOCK
- To Reset state:
- Close Manager
- Stop Server
- Edit Server Options ? change description ? OK

  IF(v.SoortFiche = 20 
   ,(SELECT IF(SUM(IF(t.VolgendeFicheID IS NULL, (CASE WHEN t.status IN (21) THEN 1 ELSE 0 END), (SELECT (CASE WHEN t2.status IN (1, 9) THEN 1 ELSE 0 END) FROM BelcotaxF28120 t2 WHERE t.VolgendeFicheID = t2.ID))) > 0, TRUE, FALSE) 
     FROM BelcotaxF28120 t WHERE v.ID = t.VerzendID) 
   ,(SELECT IF(SUM(IF(f.VolgendeFicheID IS NULL, (CASE WHEN f.status IN (21) THEN 1 ELSE 0 END), (SELECT (CASE WHEN f2.status IN (1, 9) THEN 1 ELSE 0 END) FROM belcotaxF28150 f2 WHERE f.VolgendeFicheID = f2.ID))) > 0, TRUE, FALSE) 
     FROM BelcotaxF28150 f WHERE v.ID = f.VerzendID)
  ) AS HeeftGewFiches,
      SUM(IFNULL(v2.ID, 0, 1))
      BelcotaxVerzendingen v2
      v2.VorigeVerzendingID = v.ID > 0, TRUE, FALSE) AS HeeftVervolg 
  Belcotaxverzendingen v

Comments Comments
The issue was caused by the way that views that return sensitive result sets were being cleaned up. There were dependencies that were not being cleaned up in the correct order.

Resolution Resolution
Fixed Problem on 12/5/2023 in version 2.38 build 2

Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial