Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1059 closed defect (fixed)

[patch] debug output off by one line

Reported by: oggie rob Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: trivial Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Debug output is indexed to zero instead of 1. Line numbers are output incorrectly, one less than they should be.

Attachments (2)

lineno_patch.txt (458 bytes ) - added by oggie rob 18 years ago.
Increments line number output by one
views-debug-offbyone.diff (453 bytes ) - added by Matt McClanahan 18 years ago.

Download all attachments as: .zip

Change History (7)

by oggie rob, 18 years ago

Attachment: lineno_patch.txt added

Increments line number output by one

comment:1 by Adrian Holovaty, 18 years ago

Summary: debug output off by one line[patch] debug output off by one line

comment:2 by Adrian Holovaty, 18 years ago

Status: newassigned

The patch doesn't fix the problem, but I'll look into a fix.

comment:3 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: assignedclosed

(In [2420]) Fixed #1059 -- Fixed line numbers off-by-one error in debug output

by Matt McClanahan, 18 years ago

Attachment: views-debug-offbyone.diff added

comment:4 by Matt McClanahan, 18 years ago

Resolution: fixed
Status: closedreopened

The line number in the summary output at the top is also off by one.

comment:5 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in [2815].

Note: See TracTickets for help on using tickets.
Back to Top