Simple /notes/ loading converts all notes from XML to HTML

Bug #539558 reported by Roman Yepishev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
Fix Released
Medium
Roman Yepishev

Bug Description

According to bugs LP:539521 and LP:527374, when /notes/ URL is loaded, the server performs loading of all the notes that user has along with converting them to HTML. However this happens every time the page is reloaded so it looks like the result of the processing is thrown away.

In case conversion is only done when the content is actually needed, that would be great to debug the issues that may arise due to invalid processing.

Converting the data only when needed seems logical and we don't really need all the content info beforehand - title is enough.

X-Bzr-Revision-Number: 2581

Roman Yepishev (rye)
Changed in ubuntuone-servers:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
importance: Undecided → Medium
tags: added: desktop+ notes webui
Revision history for this message
Roman Yepishev (rye) wrote :

No need to process content in view_notes() and edit_note()

Patch attached.

Changed in ubuntuone-servers:
status: New → Confirmed
Roman Yepishev (rye)
Changed in ubuntuone-servers:
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Roman Yepishev (rye)
visibility: private → public
Revision history for this message
Roman Yepishev (rye) wrote :

X-Bzr-Revision-Number: 2581

Changed in ubuntuone-servers:
status: Confirmed → Fix Released
Roman Yepishev (rye)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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