Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
comments_error duplicated (a TXP update issue?)
Hi,
today I was taking a look at some comments form (comment_form, comment_display, comments), and I noticed there was this code on top of my comment_form form:
<txp:comments_error wraptag="ul" break="li" />
Because of that, comments error were being showed twice (because there was an identical tag some lines below, but that one added by me)
At first, I thought it probably was a copy-paste mistake I made some months ago, because I didn’t touch that form during months.
But then, I was about to leave a comment on a TXP powered site and when I previewed the message, there was an error, and the comment errors list was being displayed twice!
So, basically, could it be that during a TXP update (4.0.6) that tag was being prepended to the comment_form form?
Offline
Re: comments_error duplicated (a TXP update issue?)
That is possible, in upgrades to 4.0.5. I believe this specific problem (duplicate tags inserted during upgrade) was fixed in 4.0.6.
Offline
Re: comments_error duplicated (a TXP update issue?)
I used to get this quite regularly as I use SVN and update my sites a lot but I can’t recall the last time it happened so I assumed it was fixed.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#4 2008-06-09 15:30:44
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: comments_error duplicated (a TXP update issue?)
It happened when 4.0.6 was tested before the official release (can’t find the topic anymore found), so maybe you did not have the final package?
Last edited by els (2008-06-09 15:34:53)
Offline