Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If a News Expires, The Archive link is broken! #154

Open
oshovah opened this issue Oct 13, 2014 · 1 comment
Open

If a News Expires, The Archive link is broken! #154

oshovah opened this issue Oct 13, 2014 · 1 comment

Comments

@oshovah
Copy link

oshovah commented Oct 13, 2014

Hi
If a News-Article is expired, the link in the archive leads to a "page not found" error. Because this News dont exist anymore but will be listed in the Archive links.

So this <%= news_item_archive_links %> sould either ignore News that are expired or have a working link.

Is there a workaround?

Regards Dino

EDIT:
This is the Error that shows up, if you hit "Show this News live" on the news backend module:

ActiveRecord::RecordNotFound in Refinery::News::ItemsController#show
@parndt
Copy link
Member

parndt commented Feb 14, 2016

Sounds like we need to update the archive to not show expired news

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants