Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-beta3
Component:
block displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2008 at 23:58 UTC
Updated:
7 Jul 2008 at 23:46 UTC
I made a block view on node table, the node is filtered by one exact nid, I have selected the node: teaser field to appear.
This is how it appears in the block:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis ipsum velit, interdum aliquam, commodo in, bibendum quis, urna. Sed quis sapien.
<!--break-->
Phasellus egestas nibh eget neque. Morbi et dolor a magna egestas eleifend. Vivamus sed quam vitae mi laoreet aliquam. Sed suscipit purus vel sem. Morbi quis lorem. Maecenas lorem. Phasellus rutrum ornare tellus. Nunc volutpat, mi et venenatis tincidunt, orci magna cursus nisl, quis sagittis quam libero id libero. Nullam viverra augue et elit. Aliquam accumsan, purus congue euismod scelerisque, nunc velit bibendum ipsum, nec suscipit libero mauris sit amet ipsum. Cras scelerisque erat in lorem. Donec accumsan magna ut nisi. Etiam sit amet lectus laoreet quam adipiscing vulputate.
Aliquam rutrum, purus ut sollicitudin placerat, massa erat vestibulum leo, sit amet posuere diam magna in pede. Ut ut elit in mi adipiscing venenatis. Morbi congue, lacus in sollicitudin convallis, mauris libero vehicula mauris, id ullamcorper velit pede sit amet augue. Integer gravida, felis vitae facilisis venenatis, arcu elit congue ipsum, id congue ligula dui nec ligula. Cras consequat pretium nisi. Aliquam erat volutpat. Nullam pede pede, rhoncus nec, porttitor et, pellentesque non, dolor. Fusce euismod risus ut metus. Fusce sit amet elit. Duis accumsan felis a nisl. Donec risus. Nulla vulputate, velit nec rhoncus gravida, eros nisl commodo sem, sit amet tempus nisl lectus et erat. Nam non lectus. In eget neque. Suspendisse quis tellus vel arcu interdum adipiscing. Mauris mattis, velit et cursus sagittis, risus diam scelerisque enim, sed fringilla lorem lacus eget risus. Donec ullamcorper diam et odio. Suspendisse lobortis fringilla tortor. Donec egestas scelerisque justo. Integer facilisis eros a velit.
Sed cursus mollis metus. Praesent volutpat felis in justo. Phasellus neque diam, pharetra a, mollis eget, facilisis volutpat, pede. Sed ac nisl in nibh dignissim lacinia. Nulla tempus. Aliquam arcu. Nam a velit in ligula ullamcorper sagittis. Suspendisse feugiat quam quis dolor. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In ultricies, magna non tempor scelerisque, erat nisi lobortis felis, et consequat pede tellus vel dui. Nullam elit.
Donec viverra arcu tincidunt orci. Nulla consectetuer feugiat urna. Vivamus libero. Integer molestie iaculis nunc. Aenean sed est non mi feugiat aliquam. In purus. Duis placerat ligula et lectus. Donec vulputate, massa in imperdiet sodales, augue libero tempor ligula, ullamcorper pretium mi sem at libero. Proin sit amet justo ut lectus auctor pulvinar. Etiam a ligula. Maecenas congue. Nullam tellus augue, elementum non, commodo vitae, venenatis nec, sem. In adipiscing facilisis augue.
Fusce cursus. Aliquam tempor luctus quam. Quisque ullamcorper, dolor vel sollicitudin suscipit, massa sapien consequat nulla, quis consequat ipsum tortor in dui. Vivamus vel nunc vel libero convallis elementum. Praesent consequat. Integer suscipit tellus quis mauris. Ut hendrerit odio in leo. Donec at ante. Mauris condimentum dui sit amet erat. Pellentesque ac tortor eget mi ultricies gravida. Morbi sem urna, luctus et, tincidunt vel, hendrerit in, urna. Morbi nisl. Aenean eu pede vel augue mattis egestas. Donec fringilla. Quisque vel dui sed dui tincidunt pretium. Aenean dapibus nunc eget leo. Aenean aliquet arcu nec nunc. Duis leo diam, aliquet vel, condimentum vitae, fermentum at, nisi. Vestibulum tempor mi non leo. Morbi molestie sapien et neque.
But when I go to edit the node from where that information is pulled, it cleanly splits the summary away.
I have trimmed posts set to 200 in post settings in case it matters.
Am I wrong to assume that trimmed post, summary, and node; teaser, refer to the same thing? If I'm wrong, then how are any of these features useful?
Comments
Comment #1
danielb commentedOK drupal.org did not display the information in my last post correctly. That's rather annoying since I wrapped the code in "code" tags, and it still escaped the comment break.
The second line was meant to have a HTML comment with the word 'break' inside it.
Comment #2
danielb commentedSome more information also, this is just content type 'page'. The body and teaser are separated correctly in the node revisions table of my db, so I don't know why views is struggling to pick the correct field.
Also, the drupal Node object:
Comment #3
danielb commentedHey if you look at the teaser output, it has even prefixed it with the label "Body" - I'm staring at the view right now and it says teaser in there...!
Comment #4
danielb commentedOK just went into the view on another computer AND IT SAID BODY IN THERE!!! Changed it on that machine and now it works on both machines again.
So whilst I understand how to get around the issue now, it will no doubt irritate me in the future to have to do things this way. Please look into it.
Comment #5
merlinofchaos commentedI'm not sure I fully understand exactly what went wrong here.
On one computer you were looking at your view and in the list of fields it had 'teaser' but was in fact displaying 'body', but on another computer it was correct?
I can think of very few ways this can happen that aren't basically just user error and mis-reading text. The only thing I can think of, really, is that on one computer you had edited the view (but not yet saved it) while trying to experiment, and the field had had been changed to teaser. That computer would see those unsaved changes, but only on the view and during the live preview.
If this happened, then when you edited the view on another computer, you would have had to 'break the lock' in order to actually edit the view. If you did this, then I would say there's a high likelihood that there was user error involved here.
If not...I'm not sure what else to look at. I'll need a more clear picture of what went wrong in order to investigate further.
Since you have the actual problem taken care of, I'll mark fixed; but if you have more information that I can use, feel free to re-open this at that time.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.