Bug 555647 - Publican includes commented out material in strings in POT files
Summary: Publican includes commented out material in strings in POT files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-15 04:30 UTC by Ruediger Landmann
Modified: 2010-11-24 04:16 UTC (History)
5 users (show)

Fixed In Version: 1.4-1.fc12
Clone Of:
Environment:
Last Closed: 2010-02-01 01:14:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Ruediger Landmann 2010-01-15 04:30:07 UTC
Description of problem:
When a string in an XML file contains commented out material, this material is carried across to the POT file.

Version-Release number of selected component (if applicable):
12

How reproducible:
100%

Steps to Reproduce:
1. Comment out some text within a para in an XML file
2. Run publican update_pot
3. Open the corresponding POT file
  
Actual results:
The POT file contains the commented-out text

Expected results:
The POT file should not contain commented-out text

Additional info:

Comment 1 Jeff Fearn 🐞 2010-01-18 05:50:32 UTC
Added parameter to new_tree to disable retaining comments.

workaround: do not place comments in translatable tags.

Comment 2 Fedora Update System 2010-01-29 02:05:38 UTC
publican-1.4-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.4-1.fc12

Comment 3 Fedora Update System 2010-01-29 02:06:55 UTC
publican-1.4-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/publican-1.4-1.fc11

Comment 4 Fedora Update System 2010-02-01 01:13:46 UTC
publican-1.4-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2010-02-01 01:22:06 UTC
publican-1.4-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.