Is superteaser working?
| Project: | Superteaser |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Here's how to simulate this:
Settings:
Superteaser settings at default
Posts length: 200
Make a blog post
Enter this text in the body:
The Chief Minister of Andhra Pradesh faces serious allegations of violating land reforms and intimidating the press. How does he defend himself? That’s the key issue Karan Thapar raised in an exclusive interview with Dr YS Rajashekar Reddy on Devil’s Advocate.
Superteaser cuts off midword at 'exclus'. This is what I get in preview as teaser:
The Chief Minister of Andhra Pradesh faces serious allegations of violating land reforms and intimidating the press. How does he defend himself? That’s the key issue Karan Thapar raised in an exclus
Anyone else can try this out and confirm? ( I don't have nodeteaser or excerpt module installed that might interfere with teasers).

#1
Tried this on a fresh install, doesn't work. Poking into the code, I see that the teaser is generated in hook_nodeapi validate. My understanding was $node is pretty much read-only in validate so any changes made here will not be reflected in the node.
To confirm, I printed out the teaser generated by superteaser in the nodeapi-validate hook and I can see that superteaser is generating the teaser properly, but that is not reflected in the node.
'view' $op would be a more appropriate place perhaps?