![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
[commit: http://hg.dwscoalition.org/dw-free/rev/4755bce40d0c]
Fix unhandled XML parsing error with FOAF
Some FOAF data comes back with invalid encoding in the interest field. This
is presumably due to an old bug in encoding the data for the database on the
remote end.
Anyway, the importer already handles the case where we can't get FOAF data
(since that's how it works for suspended users), so we are now lumping
failed-to-parse users in that category.
The only impact is that for the (very rare) user with this problem, if they
try to import their bio, it won't come over and they will have to manually
add things.
Patch by
mark.
Files modified:
Fix unhandled XML parsing error with FOAF
Some FOAF data comes back with invalid encoding in the interest field. This
is presumably due to an old bug in encoding the data for the database on the
remote end.
Anyway, the importer already handles the case where we can't get FOAF data
(since that's how it works for suspended users), so we are now lumping
failed-to-parse users in that category.
The only impact is that for the (very rare) user with this problem, if they
try to import their bio, it won't come over and they will have to manually
add things.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/DW/Worker/ContentImporter/LiveJournal.pm
- cgi-bin/DW/Worker/ContentImporter/LiveJournal/Comments.pm