Ticket #1835 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 1 year ago

no link to get back to post from subpost if post title is blank

Reported by: stevecooley Assigned to: westi
Priority: normal Milestone: 2.3
Component: Administration Version: 1.6
Severity: minor Keywords: has-patch
Cc:

Description

If you create a post with no title, and you import a photo, when you view the post and click on the photo, there is text that says "Belongs to ..." and there's no link back to the post.

Attachments

1835.diff (1.0 kB) - added by johnbillion on 03/07/07 17:30:21.
Patch to display 'Previous Post' or 'Next Post' when no post title is specified
1835.2.diff (1.0 kB) - added by johnbillion on 03/07/07 19:45:26.
Same as patch 1835 but with full path from root

Change History

11/17/05 01:57:35 changed by matt

  • milestone changed from 1.6 to 2.1.

This is a general problem with previous and next links.

10/04/06 00:16:39 changed by Nazgul

  • keywords set to needs-patch.

This begs the question: Should it even be allowed to publish a post without a title?

11/29/06 22:56:51 changed by matt

  • milestone changed from 2.1 to 2.2.

03/07/07 17:30:21 changed by johnbillion

  • attachment 1835.diff added.

Patch to display 'Previous Post' or 'Next Post' when no post title is specified

03/07/07 17:31:17 changed by johnbillion

  • keywords changed from needs-patch to has-patch.

I've written a patch for previous_post_link and next_post_link so the words Previous Post and Next post, respectively, are displayed when a post has no title.

Re: comment 2, I don't think it is necessary to force users to specify a post title.

03/07/07 19:45:26 changed by johnbillion

  • attachment 1835.2.diff added.

Same as patch 1835 but with full path from root

03/27/07 18:07:46 changed by foolswisdom

  • milestone changed from 2.2 to 2.3.

09/11/07 20:05:43 changed by westi

  • owner changed from anonymous to westi.
  • status changed from new to assigned.

Patch looks good.

Needs so I18N adding as well.

09/11/07 20:05:53 changed by westi

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [6082]) Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion