Bug 35737 - HTML Import: Headings numbering style lost after <ul>
Summary: HTML Import: Headings numbering style lost after <ul>
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 03:48 UTC by M8R-hexx231
Modified: 2015-06-21 13:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
test case (801 bytes, text/html)
2012-01-24 04:20 UTC, sasha.libreoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M8R-hexx231 2011-03-28 03:48:56 UTC
To reproduce:

* create an HTML document as follows:
<p>text</p>
<h1>Title 1</h1>
<ul><li>sample</li></ul>
<h1>Title 2</h1>

* Create a new Writer document

* set "Heading 1" style to numbered in Writer

* Import HTML document in Writer using Insert > File...

Result:

"Title 1" will be numbered whereas "Title 2" will not.

Thanks for fixing.
Comment 1 M8R-hexx231 2011-03-28 03:59:52 UTC
Submitted to OpenOffice http://openoffice.org/bugzilla/show_bug.cgi?id=117568
Comment 2 Björn Michaelsen 2011-12-23 11:47:57 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 3 sasha.libreoffice 2012-01-24 04:20:18 UTC
Created attachment 56071 [details]
test case

Reproduced in LibO 3.6.0 master of 24 jan 2012 on Fedora 64 bit
Steps to reproduce:
0. start Writer
1. do Tools->Outline Numbering
2. in field Number change from None to 1,2,3
3. do Insert->File and choose Test1.html from attachment
Expected: both lines numbered
Actually: not numbered
4. repeat step 1 but only click Ok.
Now numbers appear.
Comment 4 Roman Eisele 2012-05-03 04:34:01 UTC
This is a Writer bug, therefore modified 'Component'.
Comment 5 stephane.gourichon_libreoffice_bugzilla 2014-02-24 17:01:17 UTC
Hello,

Bug encountered in actual use on LibreOffice 4.1.3.2 on Ubuntu 13.10 64-bit.


A workaround is to walk through the whole document, locate the titles that miss a number and press F12 on each of them. 

The cost of this workaround is proportional to the size of the documents.

This is a nasty bug when using a document workflow that implies a HTML step to import into OpenOffice because documents are unsuitable for sending to recipients until manually fixed, and the fix has to be repeated each the time a modified document is reimported to OpenOffice/LibreOffice.
Comment 6 Joel Madero 2015-05-02 15:44:42 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.2 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   Update the version field
   Reply via email (please reply directly on the bug tracker)
   Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-05-02
Comment 7 Buovjaga 2015-06-21 13:24:48 UTC
(In reply to sasha.libreoffice from comment #3)
> Created attachment 56071 [details]
> test case
> 
> Reproduced in LibO 3.6.0 master of 24 jan 2012 on Fedora 64 bit
> Steps to reproduce:
> 0. start Writer
> 1. do Tools->Outline Numbering
> 2. in field Number change from None to 1,2,3
> 3. do Insert->File and choose Test1.html from attachment
> Expected: both lines numbered
> Actually: not numbered
> 4. repeat step 1 but only click Ok.
> Now numbers appear.

Not reproduced anymore. WFM.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)