[horde] Bookmarks cannot deleted

A. Schulze sca at andreasschulze.de
Sun Feb 14 23:09:49 UTC 2016



Am 14.02.2016 um 22:55 schrieb Ralph Ballier:

>>> In trean there is no .htaccess.
>>> Ralph
>>
>> It uses the rampage.php rule.
>> Jan Schneider

> The requested URL /trean/b/delete was not found on this server.

$ pear list-files horde/trean | grep lighttpd-trean.conf
doc    /usr/share/php/doc/trean/lighttpd-trean.conf

this file show two rules I added to my nginx.conf

         location /trean/ {
             rewrite                     ^/trean/b/(.*)$                                     /rampage.php/$1 last;
             rewrite                     ^/trean/tag/(.*)$                                   /rampage.php/$1 last;
         }


Now I could manage/create bookmarks with tags and search by tag. So rule #2 work.
But delete a bookmark give an error here, too:


"
  There was a problem deleting the bookmark: exception 'ReflectionException' with message 'Class Content_Objects_Mapper does not exist' in /usr/share/php/Horde/Injector/Binder/Implementation.php:65 Stack
  trace:
  #0 /usr/share/php/Horde/Injector/Binder/Implementation.php(65): ReflectionClass->__construct('Content_Objects...')
  #1 /usr/share/php/Horde/Injector/Binder/AnnotatedSetters.php(78): Horde_Injector_Binder_Implementation->create(Object(Horde_Injector))
  #2 /usr/share/php/Horde/Injector.php(238): Horde_Injector_Binder_AnnotatedSetters->create(Object(Horde_Injector))
  #3 /usr/share/php/Horde/Injector.php(272): Horde_Injector->createInstance('Content_Objects...')
  #4 /horde/trean/lib/Bookmarks.php(210): Horde_Injector->getInstance('Content_Objects...')
  #5 /horde/trean/app/controllers/DeleteBookmark.php(12): Trean_Bookmarks->removeBookmark(Object(Trean_Bookmark))
  #6 /usr/share/php/Horde/Controller/FilterRunner.php(70): Trean_DeleteBookmark_Controller->processRequest(Object(Horde_Controller_Request_Http), Object(Horde_Controller_Response))
  #7 /usr/share/php/Horde/Controller/Runner.php(39): Horde_Controller_FilterRunner->processRequest(Object(Horde_Controller_Request_Http), Object(Horde_Controller_Response))
  #8 /horde/rampage.php(60): Horde_Controller_Runner->execute(Object(Horde_Injector), Object(Horde_Controller_Request_Http), Object(Horde_Core_Controller_RequestConfiguration))
  #9 {main}[14.2.2016, 23:45:16]
"

Maybe Ralph see an other error

I've to note, that after I /try/ to delete a bookmark, the already assigned tag *is* deleted.

Andreas


More information about the horde mailing list