Page MenuHomekolab.org

Searching for "*" doesn't work for removed folders
Closed, ResolvedPublic8 Story Points

Description

https://issues.kolab.org/show_bug.cgi?id=5038

  • Disable calendar in korganizer using the red minus
  • Search for the disappeared calendar
  • Locate the calendar in the searchresults and reenable it.

Event Timeline

mollekopf updated the task description. (Show Details)
mollekopf raised the priority of this task from to 60.
mollekopf added a project: KDE PIM.
mollekopf changed Ticket Type from Task to Task.
mollekopf added a subscriber: mollekopf.

Also valid if you search for the removed caledar by name directly:

  • remove Vacation calendar
  • search for Vacation
knauss edited a custom field.

show saved xantian search strings for collection 37:

delve -1 $KDEHOME/.local/share/baloo/collections -r 37
A/imap.example.com/Calendar/Personal Calendar
C30
IDCalendar/Personal Calendar
Mapplication/x-vnd.akonadi.calendar.event
Minode/directory
NS
Ncalendar
Npersonal
Pcalendar
Pcom
Pexample
Pimap
Ppersonal
calendar
personal

CollectionSearchJob for "*":

  • NS empty (match)
  • mimetype "text/calendar" (do not match)

-> so we either have to set the Mimetype "text/calendar" or search for "application/x-vnd.akonadi.calendar.event"

zanshin uses mimetype KCalCore::Todo::todoMimeType and NoteUtils::noteMimeType so we should also switch to KCalCore::Event:eventMimeType for korganizer.

search xapian db:

search for all collection with correct mimetype:

quest -d $KDEHOME/.local/share/baloo/collections -b "M:M" 'M:"application/x-vnd.akonadi.calendar.event"'

and for collectino with empty namespace:

quest -d $KDEHOME/.local/share/baloo/collections -b "NS:NS" 'NS:""'
knauss claimed this task.
petersen moved this task from Review to Doing on the Sprint Desktop 201520 board.May 22 2015, 11:42 AM
petersen reopened this task as Open.May 22 2015, 11:45 AM
petersen added a subscriber: petersen.
petersen moved this task from Doing to Done on the Sprint Desktop 201520 board.Jul 6 2015, 4:40 PM