Opened 15 months ago
Closed 15 months ago
#26 closed defect (fixed)
isTracTicketClosed fails when description contains tabs
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | minor | Milestone: | Legacy - Improve Framework |
| Component: | Test Framework | Keywords: | |
| Cc: |
Description
Tickets that contain tabs in the description (e.g. code samples) cause problems in isTracTicketClosed(). Exploding the line on a tab doesn't obey column enclosures, so the status column gets moved to the right and the ticket status is lost.
The fix is to use str_getcsv and a compatibility function for < php 5.3.0.
Attachments (1)
Change History (3)
Example ticket with tabs in the description:
http://core.trac.wordpress.org/ticket/16456?format=tab
- Resolution set to fixed
- Status changed from new to closed
Fixed in changeset 561
Note: See
TracTickets for help on using
tickets.

Replace explode with str_getcsv