Modify

Opened 6 years ago

Closed 4 years ago

#3928 closed defect (wontfix)

Number of displayed changelog entries is limit + 1

Reported by: martinbk@… Owned by: rjollos
Priority: high Component: ChangeLogMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

As you can see limit=3 but 4 changelogs are shown

Changelog view

Error: Macro ChangeLog(/changelogplugin,3) failed
No node changelogplugin at revision 14215

Attachments (0)

Change History (10)

comment:1 Changed 5 years ago by rjollos

  • Summary changed from wrong limit parameter to Number of displayed revisions is limit + 1

comment:2 Changed 5 years ago by rjollos

  • Summary changed from Number of displayed revisions is limit + 1 to Number of displayed changelog entries is limit + 1

comment:3 Changed 5 years ago by rjollos

This bug seems to prevent display of a single revision.

This displays all revisions:

[[ChangeLog(/changelogplugin, 0, 2980)]]

This results in a macro error:

[[ChangeLog(/changelogplugin, , 2980)]]

This results in the display of 2 revision because of #3928.

[[ChangeLog(/changelogplugin, 1, 2980)]]

comment:4 Changed 5 years ago by rjollos

  • Priority changed from normal to high

Increasing priority because of comment:3. Some functionality is broken.

comment:5 Changed 5 years ago by rjollos

TODO: fix ChangeLogPlugin#Examples after fixing this ticket.

comment:6 Changed 5 years ago by rjollos

  • Owner changed from athomas to rjollos

Changing ticket owner since I have adopted the plugin.

comment:7 Changed 5 years ago by rjollos

  • Component changed from ChangeLogPlugin to ChangeLogMacro

comment:8 Changed 5 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

This issue seems to be fixed as of [7472] in Trac 0.11.7stable-r9029 and Trac 0.12dev. The ChangeLogMacro on t.h.o. may need to be updated, or else the issue only exists in 0.10.

comment:9 Changed 5 years ago by rjollos

  • Resolution worksforme deleted
  • Status changed from closed to reopened

It seems the issue does exist on my Trac 0.11.4 installation, so I'm going to test in a 0.11.4 development environment and see if the issue only appears in earlier Trac versions.

comment:10 Changed 4 years ago by rjollos

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

The issue was resolved after upgrading from Trac 0.11.4 to 0.11.7, so the underlying issue seems most likely to be with the Trac API.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.