Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#278 closed defect (fixed)

Webadmin page should have the default values in the fields

Reported by: athomas Owned by: pacopablo
Priority: low Component: TracBlogPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.10


The fields are empty by default, it'd be nice if they were populated with default values.

Also, some indication of the format of the various fields (date and page in particular) would be good. I assume it's strftime format, but your average Joe may not.

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by athomas

Further to this, if you don't put any values in the "days" an exception will occur. The offending line is in source:tracblogplugin/0.10/blog/

        history_days = int(self.env.config.get('blog', 'history_days', 30))

Should probably be:

        history_days = int(self.env.config.get('blog', 'history_days') or 30)

comment:2 Changed 11 years ago by pacopablo

  • Status changed from new to assigned
  • Trac Release set to 0.10

Fields are now filled in with the default value if a separate value hasn't been set ([601], [602]). The bug with history_days is also fixed in [607].

Please test and close the bug if all seems well.

comment:3 Changed 11 years ago by pacopablo

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

with the blessing of the almighty alect, I hereby declare this ticket closed.

Add Comment

Modify Ticket

as closed The owner will remain pacopablo.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.