Opening *.note file results in unparsed raw xml code and the uuid as title

Bug #1074661 reported by Stefan Hammer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tomdroid
Fix Released
Medium
Unassigned
Beta
Fix Released
Medium
Unassigned

Bug Description

*.txt files and *.note files should be handled differently
text files should be imported without parsing, just as text with the filename as title

note files should be parsed and title and conted formatted in the right way.

This distinction is not there at the moment.

Tags: import
Changed in tomdroid:
status: New → Triaged
Revision history for this message
NoahY (noahy) wrote :

They are handled differently (see Receive.java); I am not sure what the problem you are finding is, but at my end XML is properly parsed for .note files and .txt files are handled as plain text.

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

I just figured out that this bug appeares only when opening notes from gmail. Somehow, the file extension is not passed along.
Removing the question for .note extension and just difference by "starts with <?xml" fixes this issue. we could also ask for content.endswith(">/note>/n") to be sure, this file is a notes-file. I can fix this later!

Changed in tomdroid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.