searching with subject_storage in template is not working

Bug #580364 reported by Markus Korn on 2010-05-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Seif Lotfy

Bug Description

I've just added a testcase to lp:zeitgeist which shows that a template like

   template = Event.new_for_values(subject_storage="xxxx")

returns all events, instead of only all events with subject_storage="xxxx".

There are two ways to fx this bug:
  1.) implement searching for subject_storage
  2.) raise an ValueError if we do not support such kind of queries


Markus Korn (thekorn) wrote :

you can run this testcase in lp:zeitgeist by running

   test/ ZeitgeistEngineTest.testBug580364

I think that we want to support this at some point. Maybe we should just throw an exception for now and then target the feature for 0.3.5 (ie /not/ for 0.3.4)

Markus Korn (thekorn) wrote :

Ok, zeitgeist is not raising a ValueError if someone tries to query on storage, I'll let this bug open so we can implement support for this field in the future.

revno: 1471
committer: Markus Korn <email address hidden>
branch nick: trunk
timestamp: Fri 2010-05-14 13:54:52 +0200
  Raise a ValueError if someone tries to query by storage field, this feature
  might be added in the future (LP: #580364)

Changed in zeitgeist:
status: New → Triaged
importance: Undecided → Wishlist
Seif Lotfy (seif) on 2010-08-30
Changed in zeitgeist:
assignee: nobody → Seif Lotfy (seif)
Seif Lotfy (seif) wrote :
Changed in zeitgeist:
status: Triaged → Fix Committed
Seif Lotfy (seif) on 2010-08-31
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers