refinery / refinerycms-news

News Plugin for Refinery CMS
http://www.refinerycms.com
MIT License
121 stars 120 forks source link

Error with new RefineryCMS 2.1.1 version #137

Closed javinto closed 10 years ago

javinto commented 10 years ago

The new release version 2.1.1 does not work with version 2.1.0 of the News plugin. When showing a newsitem I get

ActiveRecord::RecordNotFound in Refinery::News::ItemsController#show

Couldn't find Refinery::News::Item with id=installatie-nieuwsitems 
[WHERE `refinery_news_item_translations`.`locale` = 'nl' 
AND `refinery_news_items`.`id` = `refinery_news_item_translations`.`refinery_news_item_id` 
AND ((`refinery_news_items`.`expiration_date` IS NULL 
     OR `refinery_news_items`.`expiration_date` > '2013-11-27 11:37:29')) 
AND (publish_date < '2013-11-27 11:37:29')]

Note the weird id it is looking for.

parndt commented 10 years ago

Investigating!

parndt commented 10 years ago

Version 2.1.1 released.

parndt commented 10 years ago

Something has gone horribly wrong with that version, testing..

parndt commented 10 years ago

Version 2.1.2 released.