Description: We use LO 7.0 for a reservation tracking database application using an external HSQLDB server. One of our reports uses Calc template to generate a daily report showing reservations for each hour of business day (7AM - 5PM). Bug is that on saving the file as either template or regular format results in a large block of spurious blank rows injected between the 4PM and 5PM time blocks. Attached is an sample file in post-error state. Issue seen in LO 7.0.6.2 & 7.1.4.2 (x64) Steps to Reproduce: 1. Load sample file into Calc 2. Do not run database queries when prompted 3. Scroll down to the 4PM block, notice blank rows between 4PM & 5PM 4. Delete all visible blank rows 5. Save file 6. Reopen file 7. Scroll down to 4PM block, see if blank rows again present Actual Results: Blank rows injected Expected Results: No blank rows to be added to file Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.6.2 (x64) Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL
Created attachment 173491 [details] Sample template fiel in post-error state
Defined ranges beginning with Time_NXX have no source, could it be the issue?
The Time_XXX ranges are used purely for BASIC macro, residing in Base *.ODB file (not provided). I will attached the BASIC macro itself in a separate attachment for reference. There is no database query associated with these ranges. It seems only the *last* Time_XXX range exhibits the bad behavior, the earlier ranges are fine. I have only seen this behavior in the LO 7.x releases; earlier LO 6.x releases did not have this problem.
Created attachment 173504 [details] BASIC macros using attached Calc file [REFERENCE ONLY] Relevant BASIC macros stored in Base *.ODB file (not provided). For reference purposes only, not directly related to this bug.
Repro NixOS Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: b1df9c67349cf4cc5be4128d797aefb87f50e38f CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded
Not a regression at least with the provided file. I can reproduce with 6.4, 6.3, 5.0 and 3.5 (bibisect repos on Linux)