Opened 16 years ago
Closed 15 years ago
#7733 closed defect (bug) (fixed)
Autosave Shows Incorrect Permalink Generation
Reported by: | DeltaTee | Owned by: | azaozz |
---|---|---|---|
Milestone: | 2.9 | Priority: | low |
Severity: | minor | Version: | 2.6.1 |
Component: | JavaScript | Keywords: | needs-patch |
Focuses: | Cc: |
Description
When writing a new post, the permalink is shown based on the title of the first autosave (instead of first save). The permalink is correctly set upon first save, but this behavior can be confusing as the permalink appears to change on the first save.
I believe this first appeared with autosave in version 2.6. It still exists in version 2.6.2 (not available in the version drop down).
To reproduce this:
- Create a new post
- Enter some body text
- Wait for the autosave
- Note that the permalink is shown to be the post number
- Enter a title
- Note the permalink does not change
- Save the post
- Note that the permalink has been updated to reflect the title.
Change History (6)
#1
@
15 years ago
- Component changed from General to JavaScript
- Keywords needs-patch added
- Milestone set to 2.8
- Owner changed from anonymous to azaozz
- Priority changed from normal to low
- Severity changed from normal to minor
Note: See
TracTickets for help on using
tickets.
If I understand correctly, you want the permalink field to update live after a user edits the title field, before clicking save?
What should the exceptions be? What happens if a user edits the permalink field and then edits the title all before saving the first time? Shouldn't the permalink abide by the user's manual edit?