pagetests add ghost new lines to textareas

Bug #47511 reported by Carlos Perelló Marín
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Björn Tillenius

Bug Description

A pagetest that has textareas gets an extra '\n' char at the beginning of the string. For instance, if it's 'Foo\r\nBar' you will get '\nFoo\r\nBar'.

This is a bug in zope.testbrowser, and is reported in the upstream bugtracker: http://www.zope.org/Collectors/Zope3-dev/644

Revision history for this message
Carlos Perelló Marín (carlos) wrote : Test that shows this problem

Here you have the test so is easy to run it. Malone broke a bit the format of the test when I did the initial report.

description: updated
Changed in launchpad:
assignee: nobody → bjornt
Changed in launchpad:
status: Unconfirmed → Confirmed
description: updated
description: updated
Changed in launchpad:
status: Confirmed → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote :

I tried to simply pull in the fix from upstream, but there were some test failures, so it's more work than I thought it would be. I'm going to take a closer look on the test failures later.

Changed in launchpad:
status: In Progress → Confirmed
Jonathan Lange (jml)
tags: added: build-infrastructure
removed: test-system
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I bet this is fixed now. I'm not sure how to be sure though :/

Revision history for this message
Björn Tillenius (bjornt) wrote :

The test case attached to the upstream bug is in our zope.testbrowser version, so assuming that all tests pass, this bug is fixed in our version.

Changed in launchpad-foundations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.