[Libreoffice-bugs] [Bug 119011] New: Variables defined in the same paragraph appear as a single cross-reference

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 30 23:10:41 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=119011

            Bug ID: 119011
           Summary: Variables defined in the same paragraph appear as a
                    single cross-reference
           Product: LibreOffice
           Version: 6.0.5.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: o.arias.bu at gmail.com

Description:
When a variable is defined twice in the same paragraph, a cross-reference to
the first variable in that paragraph cannot be inserted because both variables
appear as a single cross-reference in the cross-reference list.

Steps to Reproduce:
1. Open a new document and write "StepA ".
2. Create a new numbering sequence using a "number range variable" field: Go to
Insert > Fields > Other, select the "Variables" page, select "Numebr range" in
the "Type" list, select any type (for instance "A B C") in the "Format" list,
write something (for instance "Step") in the "Name" field, and click "Insert".
The letter "A" (number field) appears at the insertion point after "StepA ".
3. Press Enter and write "StepB ". Insert the variable field "Step" (select
"Step" in the "Selection" list) again. The letter "B" appears after "StepB ".
4. Press Enter and write "StepC ". Insert the variable field "Step". The letter
"C" appears after "StepC ".
5. Write ", step D ". Insert the variable field "Step". The letter "D" appears
after "StepC C, step D ".
6. Press Enter and write "Repeat steps ". Insert the cross-reference "StepA A"
to "numbering" (Go to Insert > Cross Reference, select "Step" in the "Type"
list, select "Numbering" in the "Insert reference to" list, select "StepA A" in
the "Selection" list, and click "Insert"). The number field "A" appears after
"Repeat steps ".
7. Write " and ". Try to insert the cross-reference to "StepC C". In the
"Selection" list appears the option "StepC C, stepD D". If this option is
selected and isnerted, a "D" appears after "Repeat steps A and ".

Actual Results:
StepA A
StepB B
StepC C, stepD D
Repeat steps A and D

Expected Results:
StepA A
StepB B
StepC C, stepD D
Repeat steps A and C

[it should be possible to insert a cross-reference to both "StepC C" and "stepD
D".]


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 6.0.5.2 (x64)
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: ca-ES (de_DE); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180730/800c07c5/attachment-0001.html>


More information about the Libreoffice-bugs mailing list