Closed (fixed)
Project:
Project issue tracking
Version:
6.x-1.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Feb 2009 at 17:31 UTC
Updated:
19 May 2009 at 19:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
avpadernoI found it.
Comment #2
dww1) http://drupal.org/project/issues/search/xmlsitemap
2) Select the "Submitted by" field
3) Type "Kiam"
4) Arrow down in the autocomplete choices to "Kaim@avpnet.org"
5) Click "Search"
6) See results:
http://drupal.org/project/issues/search/xmlsitemap?text=&assigned=&submi...
Comment #3
avpadernoThat gives me the list of all the reports assigned to me, which is not the same of the list of the reports submitted from me; most of the task reports I created are not assigned to me.
See the difference in the attached screenshots. In both the cases I filtered the issue queue to get only the task reports, but in one case I added a restriction more on who submitted the report.
Comment #4
avpadernoIf then I fill the Assigned field, I obtain the same list I obtain filling the Submitted by field.
Comment #5
dwwThat's not the bug you reported, so I didn't see that was the problem. ;) To quote:
Given that and a generic title of "Advanced project issue search doesn't work" I saw that you could enter something, it did give you a report, and therefore, it was working.
However, looking closely, there is a bug here. The underlying query is identical if either the "Submitted by" or "Assigned to" filters are used. Trying to search for "Project" issues submitted by or assigned to me, the query is always this:
In both cases, the additional WHERE clause is this:
However, the submitted by filter is *not* using a relationship, so it should be restricting to {node}.uid or at the very least users_node.uid:
I think this is a bug in views, but I'm going to ask merlinofchaos to take a look and let me know if I'm doing something wrong in project_issue.
Comment #6
merlinofchaos commenteddww: Try this patch. http://drupal.org/node/386986#comment-1303234
Please check *every* view, particularly with relationships, and make sure that the results do not change. I'm not 100% sure that this will be without ramifications, but I believe it should be.
Comment #7
avpadernoI am sorry for my poor description. What I forgot to say is that I was also using the status field, and I put - Open issues - in that field; that is why I was getting an empty list.
I should have explained myself better.
Comment #8
dww@merlinofchaos: #386986-2: 2 or more relationships can block a normal table from adding
Comment #9
dwwThis is blocked on #386986: 2 or more relationships can block a normal table from adding getting fixed in views itself.
Comment #10
dww#386986: 2 or more relationships can block a normal table from adding is now committed, yay. We just need to deploy a new version of views on d.o and this should be fixed.
Comment #11
aclight commentedHas a new version of views been deployed yet? If not, this issue probably should go into the d.o infrastructure queue, since there's no problem with the project_issue module itself.
Comment #12
dwwNot yet, but it's high on my list. However, I find that things marked "needs work" with the "needs drupal.org deployment" tag are easier to deal with if they stay in their "own" issue queues... Sorry for the noise, part of the cost of being a module we run on d.o. ;)
Comment #13
dwwJust upgraded d.o to views 6.x-2.5, so this is totally resolved... yay.