Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-09 00:14:10

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#2 2008-06-09 08:59:09

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#3 2008-06-09 15:26:32

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Board footer

Powered by FluxBB