Bug 144577 - MACRO RUN in Calc 6.4.7.2 but doesn't run in 7.1.5.2
Summary: MACRO RUN in Calc 6.4.7.2 but doesn't run in 7.1.5.2
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-18 02:15 UTC by Juan P.
Modified: 2021-09-23 09:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Spreedsheet for fill "Diario" and "Mayor" (186.28 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-09-18 02:17 UTC, Juan P.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan P. 2021-09-18 02:15:16 UTC
Description:
Macro (Contabilidad.ods/Standard/Modules/macro) perfectly in LibreOffice Calc 6.4.7.2 but,  in LibreOffice 7.1.5.2 doesn't run without error message. 

Steps to Reproduce:
1. Open the spreadsheet "Contabilidad.ods"
2. Enable macros
3. click "DATOS" / EJECUTAR LIBROS CONTABLES 
4. click "OK"

Actual Results:
In LibreOffice Calc 7.1.5.2 spreadsheets "Diafil", "Diario" and "Mayor" are empty.

Expected Results:
In LibreOffice Calc 6.4.7.2 spreadsheets "Diafil", "Diario" and "Mayor" are with same data of "Alimentación del diario"


Reproducible: Always


User Profile Reset: No



Additional Info:
N/A
Comment 1 Juan P. 2021-09-18 02:17:17 UTC
Created attachment 175099 [details]
Spreedsheet for fill "Diario" and "Mayor"
Comment 2 Xisco Faulí 2021-09-20 15:14:58 UTC
Hello Juan P,
I've tried the attached document with older versions of LibreOffice and spreadsheets "Diafil", "Diario" and "Mayor" are always empty.
Can you make sure the document attached works in LibreOffice 6.4 on your end ?
You can download it from https://downloadarchive.documentfoundation.org/libreoffice/old/6.4.7.2/
Comment 3 Juan P. 2021-09-21 00:27:22 UTC
Hello.

I'm pretty sure. The document attached "Contabilidad.ods" :

1) Open with Calc 6.4.7.2 : Enable macros / Click in button "Ejecutar Libros Contables" of sheet "DATOS" / OK in button "Fin del proceso V2.2" , and the sheets: "Diafil", "Diario" and "Mayor". are full of data (A6:H189). Close without save
2) Open the original archive with Calc 7.1.5.2 (without save with 6.4.7.2): Enable macros / Click in button "Ejecutar Libros Contables" of sheet "DATOS" / OK in button "Fin del proceso V2.2",  and the sheets: "Diafil", "Diario" and "Mayor". are empty. 

I'm running CALC with this Linux configuration:

Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-34-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 2 × AMD Athlon Silver 3050U with Radeon Graphics
Memory: 5,7 GiB of RAM
Graphics Processor: AMD RAVEN2

Juan P.
Comment 4 Timur 2021-09-21 13:50:33 UTC
Also empty for me in 6.4, so cannot reproduce. 
But there's a crash for me with 7.3+ when click "DATOS" / EJECUTAR LIBROS CONTABLES. Not clear when starter, I see from oldest to master.
Comment 5 Juan P. 2021-09-22 18:26:33 UTC
Hello,

I uninstalled my version of LibreOffice (7.1.5.2 installed automatically with Kubuntu 21.04) and installed this version of LibreOffice from the web, with Spanish compatibility:

Version: 7.2.1.2 / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 2; OS: Linux 5.11; UI Processing - Default; VCL: kf5 (cairo + xcb)
Regional settings: es-CO (es_CO.UTF-8); UI: en-US
Calc: threaded

And my MACRO works perfectly. I think the problem was the compatibility of regional setting of my older version, specifically in the date (dd/mm/yyyy).

Thank you very much for your attention. Sorry for this bogus bug report.
Comment 6 Timur 2021-09-23 09:15:40 UTC
NotABug is when something can be explained. 
Here, nobody could confirm the problem, to be tested later if needed, so it's InsufficientData. 

Xisco, please check a crash with 7.3+.