6.0.0-beta1
7/18/25

[#11960] Exporting encrypted notes results in Exception in exported .csv file
Summary Exporting encrypted notes results in Exception in exported .csv file
Queue Mnemo
Queue Version 4.0.2
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester mampfikloss (at) hotmail (dot) com
Created 01/15/2013 (4567 days ago)
Due
Updated 01/15/2013 (4567 days ago)
Assigned
Resolved 01/15/2013 (4567 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/15/2013 05:21:00 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
01/15/2013 05:20:19 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit b7790085a09e8bf352346f97ad8c353714fb4d73
Author: Jan Schneider <jan@horde.org>
Date:   Tue Jan 15 18:20:08 2013 +0100

     [jan] Fix exporting bodies of encrypted notes (Bug #11960).

  mnemo/docs/CHANGES        |    1 +
  mnemo/lib/Application.php |    3 +++
  mnemo/package.xml         |    4 ++--
  3 files changed, 6 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/b7790085a09e8bf352346f97ad8c353714fb4d73
01/15/2013 04:14:16 PM mampfikloss (at) hotmail (dot) com Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Mnemo
Summary ⇒ Exporting encrypted notes results in Exception in exported .csv file
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
When exporting notes to, the resulting .csv file contains an exception 
on encrypted notes in the second column:

exception 'Mnemo_Exception' with message 'Diese Notiz wurde 
verschlüsselt.' in /var/www/horde/mnemo/lib/Driver/Sql.php:327
Stack trace:
#0 /var/www/horde/mnemo/lib/Driver/Sql.php(76): 
Mnemo_Driver_Sql->_buildNote(Array)
#1 /var/www/horde/mnemo/lib/Mnemo.php(89): Mnemo_Driver_Sql->retrieve()
#2 /var/www/horde/mnemo/lib/Application.php(249): Mnemo::listMemos()
#3 [internal function]: Mnemo_Application->download(Object(Horde_Variables))
#4 /usr/share/php/Horde/Registry.php(1140): call_user_func_array(Array, Array)
#5 /var/www/horde/services/download/index.php(33): 
Horde_Registry->callAppMethod('mnemo', 'download', Array)
#6 {main}

"Diese Notitz wurde verschlüsselt" is the German term for "this note 
has been encrypted".

This can be prevented by entering the password in the horde session. 
After that the note is exported in clear text until the next logout.

Saved Queries