Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1059 closed defect (fixed)

[patch] debug output off by one line

Reported by: oggie rob Owned by: adrian
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: UI/UX:

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 8 years ago.
Increments line number output by one
views-debug-offbyone.diff (453 bytes) - added by mattmcc 8 years ago.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by oggie rob

Increments line number output by one

comment:1 Changed 8 years ago by adrian

  • Summary changed from debug output off by one line to [patch] debug output off by one line

comment:2 Changed 8 years ago by adrian

  • Status changed from new to assigned

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

comment:3 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Changed 8 years ago by mattmcc

comment:4 Changed 8 years ago by mattmcc

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:5 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in [2815].

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.