6.0.0-beta1
11/8/25

[#12622] Mnemo export API
Summary Mnemo export API
Queue Mnemo
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester horde (at) albasoft (dot) com
Created 08/26/2013 (4457 days ago)
Due
Updated 08/26/2013 (4457 days ago)
Assigned
Resolved 08/26/2013 (4457 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
08/26/2013 04:23:58 PM Michael Rubinsky Assigned to Michael Rubinsky
 
08/26/2013 04:23:50 PM Michael Rubinsky Comment #4
State ⇒ Resolved
Reply to this comment
Fixed in Git, thanks!
08/26/2013 04:23:25 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 11ca79fa6331c7b51fd8b1957e765865879db014
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Aug 26 12:19:41 2013 -0400

     Bug: 12622 Fix history usage that was broken for at least 3 years.

  mnemo/lib/Driver.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/11ca79fa6331c7b51fd8b1957e765865879db014
08/26/2013 04:23:21 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 7e2d9c5731aa73436b4555e75e4035550eecb3a4
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Aug 26 12:19:15 2013 -0400

     Bug: 12622 Fix scope.

  mnemo/lib/Api.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/7e2d9c5731aa73436b4555e75e4035550eecb3a4
08/26/2013 03:44:53 PM horde (at) albasoft (dot) com Comment #1
Priority ⇒ 1. Low
New Attachment: hordewm5-mnemo_export.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Mnemo
Summary ⇒ Mnemo export API
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I think I've found some bugs playing with mnemo export API.
When calling:
...
$injector->getInstance('Mnemo_Api')->export($uid, 'text/x-vnote', $calname);
...
I get this on log:
PHP Fatal error:  Call to a member function getVersion() on a 
non-object in .../mnemo/lib/Api.php on line 334
and after fixing it, still another:
PHP Fatal error:  Call to undefined method 
Horde_History_Log::getData() in .../mnemo/lib/Driver.php on line 433

Applying attached patch make it available from scripts, and resulting 
file is suitable to be imported back to Horde.

Saved Queries