Opened 12 years ago

Closed 12 years ago

# Webadmin page should have the default values in the fields

Reported by: Owned by: Alec Thomas John Hampton low TracBlogPlugin minor 0.10

### Description

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.

### comment:1 Changed 12 years ago by Alec Thomas

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/web_ui.py:

        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 12 years ago by John Hampton

Status: new → assigned → 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 12 years ago by John Hampton

Resolution: → fixed assigned → closed

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

### Modify Ticket

Change Properties