Bug 97300 - Ill-placed question for updating Link on opening a file with broken conditional formatting
Summary: Ill-placed question for updating Link on opening a file with broken condition...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: lowest normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Conditional-Formatting
  Show dependency treegraph
 
Reported: 2016-01-21 14:51 UTC by Cor Nouws
Modified: 2024-03-14 10:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test file with broken conditional formatting triggering link update request (19.82 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2016-01-21 14:51 UTC, Cor Nouws
Details
screenshot showing the issue (35.35 KB, image/png)
2024-03-14 10:39 UTC, Cor Nouws
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cor Nouws 2016-01-21 14:51:01 UTC
Hi, 

I'll attach a test file.
Somehow, conditional formatting in AQ57 became wrong.
(Format > Conditional formatting > Manage..)
It now shows "Cell value is =>cliënten.u#ref!"

On opening the file, one gets the question to update the link.
'Removing' the link with Edit > Links doesn't help. On next opening, the problem occurs again.

Tested in master recent and 3.3.0
Comment 1 Cor Nouws 2016-01-21 14:51:53 UTC
Created attachment 122133 [details]
test file with broken conditional formatting triggering link update request
Comment 2 Cor Nouws 2016-01-21 14:52:14 UTC
.
Comment 3 m_a_riosv 2016-01-21 22:25:50 UTC
Hi Cor the wrong reference is in the file.

Looking at the content.xml in file.

1842 <style:map style:base-cell-address="cliënten.AQ57" style:apply-style-name="naamloos2" style:condition="cell-content()>=cliënten.u#ref!"/>

Seems an error writing the address in the CF condition. Other conditions are cliënten.Unn
Comment 4 QA Administrators 2017-03-06 14:20:15 UTC Comment hidden (obsolete)
Comment 5 Cor Nouws 2017-07-21 10:07:30 UTC
Still the same in Version: 6.0.0.0.alpha0+
Build ID: 1ec04aa8d8f37c82c78d6b98e030a34769d3123e
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-07-18_22:38:27
Locale: nl-NL (nl_NL.UTF-8); Calc: group

But obviously a strange broken file and exceptional situation
Comment 6 Xavier Van Wijmeersch 2017-07-21 14:26:07 UTC
Hi Cor

When opening the manage name's box you will see two !REF errors.
Deleting them will help, and also in conditional formatting.
It fix the problem.

Version: 6.0.0.0.alpha0+
Build ID: ee299664940139f6f9543592ece3b3c0210b59f4
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); Calc: group (build 20170721)
Comment 7 Cor Nouws 2017-07-22 19:46:20 UTC
(In reply to Xavier Van Wijmeersch from comment #6)
> When opening the manage name's box you will see two !REF errors.
> Deleting them will help, and also in conditional formatting.
> It fix the problem.

Thanks Xavier - deleting the bad reference in named ranges and in conditional formatting and then removing the Link, indeed solves the issue.

The question remains if the (error) message given is adequate.
Comment 8 QA Administrators 2018-07-23 02:32:04 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2020-07-23 03:55:50 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2022-07-24 03:32:08 UTC Comment hidden (obsolete)
Comment 11 Cor Nouws 2024-03-14 10:38:56 UTC
Still issue in Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: nl-NL (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 12 Cor Nouws 2024-03-14 10:39:26 UTC
Created attachment 193112 [details]
screenshot showing the issue