project/+myquestions initial search uses different criteria than those shown

Bug #187353 reported by Brad Crittenden
8
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

I have asked one question in the launchpad-bazaar project and it is 'solved'. If I go to:
https://answers.launchpad.net/launchpad-bazaar
and select the 'My questions' action I am taken to:
https://answers.launchpad.net/launchpad-bazaar/+myquestions
with the results stating:
"You didn't ask any questions about Launchpad Bazaar Integration."

Above that message is a collection of search criteria, including checkboxes for all possible answer states (Open, Needs info, Answered, Solved, etc.). All of those checkboxes are checked.

The *implication* is that these are the criteria that were used for the +myquestions initial search. However, if I click the Search button without changing any of the default criteria I am then given results that contain my solved question.

In summary, the criteria shown after a +myquestions search are not the same as those actually used, which leads users to think they have no matching results when they really do.

Tags: lp-answers
Brad Crittenden (bac)
Changed in launchpad-answers:
assignee: nobody → sinzui-is
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I can't reproduce this problem. I have asked one question about Ubuntu, and it is 'Solved', and when I go to <https://answers.edge.launchpad.net/ubuntu/+myquestions> it shows up both before *and* after clicking "Search".

Can you perhaps find steps to reproduce the problem on launchpad.dev?

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: [Bug 187353] Re: project/+myquestions initial search uses different criteria than those shown

On Wed, 2008-01-30 at 19:56 +0000, Matthew Paul Thomas wrote:
> I can't reproduce this problem. I have asked one question about Ubuntu,
> and it is 'Solved', and when I go to
> <https://answers.edge.launchpad.net/ubuntu/+myquestions> it shows up
> both before *and* after clicking "Search".
>
> Can you perhaps find steps to reproduce the problem on launchpad.dev?

I cannot reproduce the problem with Sample Person, Foo Bar, or No
Privileges Person.

But I have seen brad perform this problem more than once. I need more
information from him to pursue this bug.

--

__C U R T I S C. H O V E Y_______
Guilty of stealing everything I am.

Revision history for this message
Curtis Hovey (sinzui) wrote :

This issue appears to be related to Brad's changes to his preferred languages. He removed English, which was the language he has used to ask and answer questions, and added Khmer. The problem was not immediately obvious because the language filter is hidden in many of the +myquestions views.

In the initial page request, there are no query parameters, so the defaults values are used. While language is not set, they appear to be use anyway. Since Brad's questions were not in one of his preferred languages, there were no questions displayed. The second page request created using the search button use just the parameters from the query (no language parameters were used) so his questions were displayed in the page.

The code must be reviewed to identify where the user's languages are used did not use he search action.
This is a bug that should be fixed, though I think it is a low priority since it affects users who have removed the language that they have used in a question.

Changed in launchpad-answers:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Curtis Hovey (sinzui) wrote :

I can fix this. Sample Person asked a question in Arabic in Ubuntu, and it does not display when he views +myquestions:

    http://answers.launchpad.dev/ubuntu/+myquestions

There should be a second page that lists his Arabic question.

    http://answers.launchpad.dev/ubuntu/+myquestions?start=5&batch=5

Revision history for this message
Curtis Hovey (sinzui) wrote :

I have a branch that fixes this.

Changed in launchpad-answers:
status: Confirmed → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in RF 6510.

Changed in launchpad-answers:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in launchpad-answers:
milestone: none → 1.2.6
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fix release in Launchpad 1.2.6.

Changed in launchpad-answers:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.