Description: LO 7.2 : Values of Global Array defined user type are lost at end of runtime. No problem with LO 7.1 or Aoo 4.1 Steps to Reproduce: Use joigned extension 1. Run macro 1 2. Run macro 2 Actual Results: Values of A lost Expected Results: Values of A retained Reproducible: Always User Profile Reset: Yes Additional Info: It works without problem with LO 7.1.2, AOOo 4.1.11 but not with LO 7.2.1 So it's a regression.
Created attachment 175982 [details] A small extension for tests
Culprit: https://git.libreoffice.org/core/+/0426748927919dbfd4cf5c0bb904e21a90d6c9d7%5E%21
Confirmed in: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 207207f2752cde4d6edfe47a5a41470358a32b02 CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: CL
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/27d96bfaea5f7967a11dc3a7e2bc9d88dd6f5666 tdf#145371 - Delete array variable only before ReDim It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hello Andreas, I tried with : Version: 7.3.0.0.alpha1+ / LibreOffice Community Build ID: c6af59b234e8eb8182dc7f686290524feafd6ed6 CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded It works fine. Does the patch will be pushed in LO 7.2.3 ? Thanks and congratulations.
Usually Xisco ports these kind of patchs back.
Hello Andreas, I do'nt understand. For my previous bugs, the same developer ported the patch in LO 7.3.0 and in LO 7.2.x Example : https://bugs.documentfoundation.org/show_bug.cgi?id=144084 Have a nice day. Thanks in advance.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/627cc6481f8a0b3df6ee550f16140b40340e86b2 tdf#145371 - Delete array variable only before ReDim It will be available in 7.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.