Closed GoogleCodeExporter closed 9 years ago
It turns out that the Python client has been populating the field
extractedComment in HPotEntryData/PotEntryHeader, but the Maven client has been
populating the ordinary comment in HTextFlow/SimpleComment. In other words,
the data model has two fields which represent the same PO value.
If Maven is used to import a file after Python, the textflows try to replace
the existing extractedComment with a null, and the server doesn't handle this
correctly, hence the internal error.
Since the SimpleComment is more general (not specific to gettext format), we
should use it, and deprecate HPotEntryData.extractedComment.
We should:
1. change Python client to use the SimpleComment when pushing/pulling, not the
extractedComment field of PotEntryHeader
2. change server to ignore extractedComment in HPotEntryData/PotEntryHeader,
thus avoiding the internal error. (We will remove the database column in Flies
1.3.)
Original comment by sean.flanigan@gmail.com
on 24 Feb 2011 at 7:32
This issue was closed by revision e4c3c74381.
Original comment by sean.flanigan@gmail.com
on 24 Feb 2011 at 8:13
Original issue reported on code.google.com by
sean.flanigan@gmail.com
on 23 Feb 2011 at 6:48