Closed (fixed)
Project:
Views attach
Version:
6.x-2.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2009 at 02:27 UTC
Updated:
18 Aug 2011 at 10:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
eabrand commentedWe could not replicate this error. Please provide an export of your views. Thanks!
Comment #2
danepowell commentedUpon further inspection, something screwy is definitely going on, but I'm not sure it's exactly what I described. Basically, the View works fine on some nodes but not others. I can't make out any pattern to it, and I suspect it's possibly a problem with another module. Can you think of a quick way to test if Views_attach is working - i.e., force the View to simply print out the Token data?
Comment #3
danepowell commentedActually I have determined that the problem is specific to certain Member profile nodes, and not to particular values of [field_user_id-raw]. This leads me to believe that it might indeed be a problem with Views_attach.
Comment #4
danepowell commentedAh- I believe I have figured it out. Views_attach is only using the first character of the NID for some reason.
Comment #5
eabrand commentedHere is the patch:
Comment #6
eabrand commentedComment #7
danepowell commentedPatch works great! Thanks for the swift response.
Comment #8
anrikun commentedYes it works for me too!
Comment #9
johnthomas00 commentedPatch worked great here.
Comment #10
jackbravo commentedWorks for me too. I think this is a bug of critical priority, since this makes views_attach not work if you have more than 9 nodes =P.
Comment #11
danepowell commentedComment #12
Crell commentedCommitted. Thanks all!
Comment #14
hosais commentedHi,
I suppose that 6.x.2.2 has this fix. Am I right?
It seems not work in my view. My view is very simple. Content type A has a node reference (CCK field). I then create a view and add Content Node display with token(field_fieldname_nid). The argument of the view is nid. The result is that the EMPTY TXT was showed.
Can anyone clarify for me? Do I need to use 2.x-dev?
Thanks.
hosais
Comment #15
Crell commentedI don't follow what you're trying to do. Please open a new ticket rather than reopening a long-closed one, including what you're trying to do, where you're putting the view, and what the content types involved are.
Comment #16
hosais commentedThanks for your quick reply.
I made some more tests and post at http://drupal.org/node/1252960.
hosais