Ticket #1331 (closed defect: fixed)
Error handling save/restore encoding
Reported by: | vdanjean | Owned by: | xave |
---|---|---|---|
Priority: | normal | Milestone: | 2.5.1 |
Component: | module:core | Version: | 2.4 |
Severity: | normal | Keywords: | |
Cc: | ben_griffith@… |
Description
While trying to save/restore a blog from a dotclear installation to another one using the import/export plugin (text format), I got an error during the restoration:
Invalid row count
I googled a little, and found http://forum.dotclear.org/viewtopic.php?id=46049
ben_griffith suggested this can be a problem in the saved file and propose me to try to restore it partially in order to find the precise problem. It happens that the problem come from the following line: "atreply_subscribe_replied_comment","fsu","atreply","0","boolean","Subscribe replied comments to \"Subscribe to comments\""
This line comes from the 'atReply' plugin (no change from myself in this aprt of the config). And the problem is the final \"" I "solved" it by adding a point: "atreply_subscribe_replied_comment","fsu","atreply","0","boolean","Subscribe replied comments to \"Subscribe to comments\"."
So, I think there is something wrongly handled when the text to save ends with " leading to the \"" at the end of the line of the saved text file.
Regards,
Vincent
(In [56a874852944]) Cope with \" inside the last field in an imported line - fixes #1331