You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the reorder pages option, I re-ordered pages by drag and drop at pages menu, then I clicked on edit for the page ( icon with pen ) , and then, I got this error in the page form: ( the @page is nil ) undefined method `persisted?' for nil:NilClass
Notice that the bug scenario is constant, when I drag the page, I click "Done Reordering Pages"
Then, I click edit the page I just moved, and then, here is what I get:
2013-02-08T18:52:21+00:00 app[web.1]: Started GET "/cms/refinery/pages/test7/edit" for 86.108.103.209 at 2013-02-08 18:52:21 +0000
2013-02-08T18:52:21+00:00 heroku[router]: at=info method=GET path=/cms/refinery/pages/test7/edit host=www.dcaclab.com fwd=86.108.103.209 dyno=web.1 queue=0 wait=0ms connect=1ms service=147ms status=500 bytes=399
2013-02-08T18:52:21+00:00 app[web.1]:
2013-02-08T18:52:21+00:00 app[web.1]: ActionView::Template::Error (undefined method persisted?' for nil:NilClass): 2013-02-08T18:52:21+00:00 app[web.1]: 1: <%= simple_form_for [refinery, :admin, @page], 2013-02-08T18:52:21+00:00 app[web.1]: 2: :url => (refinery.admin_page_path(@page.uncached_nested_url) if @page.persisted?) do |f| %> 2013-02-08T18:52:21+00:00 app[web.1]: app/views/refinery/admin/pages/_form.html.erb:2:in_app_views_refinery_admin_pages__form_html_erb__3238228840078173087_63152160'
The text was updated successfully, but these errors were encountered:
On Tue, Feb 12, 2013 at 1:27 PM, Costis Panagiotopoulos < [email protected]> wrote:
I believe this a duplicate of #1985#1985,
which has been resolved with commit 1647bdbhttps://github.com/refinery/refinerycms/commit/1647bdb68fda6fd46393fd800af39f766eb79b4a
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2182#issuecomment-13428407.
Kind Regards,
Samir Sabri
Software Architect& Developer www.dcaclab.com
Jordan-Middle East
Using the reorder pages option, I re-ordered pages by drag and drop at pages menu, then I clicked on edit for the page ( icon with pen ) , and then, I got this error in the page form: ( the @page is nil ) undefined method `persisted?' for nil:NilClass
Notice that the bug scenario is constant, when I drag the page, I click "Done Reordering Pages"
Then, I click edit the page I just moved, and then, here is what I get:
2013-02-08T18:52:21+00:00 app[web.1]: Started GET "/cms/refinery/pages/test7/edit" for 86.108.103.209 at 2013-02-08 18:52:21 +0000
2013-02-08T18:52:21+00:00 heroku[router]: at=info method=GET path=/cms/refinery/pages/test7/edit host=www.dcaclab.com fwd=86.108.103.209 dyno=web.1 queue=0 wait=0ms connect=1ms service=147ms status=500 bytes=399
2013-02-08T18:52:21+00:00 app[web.1]:
2013-02-08T18:52:21+00:00 app[web.1]: ActionView::Template::Error (undefined method
persisted?' for nil:NilClass): 2013-02-08T18:52:21+00:00 app[web.1]: 1: <%= simple_form_for [refinery, :admin, @page], 2013-02-08T18:52:21+00:00 app[web.1]: 2: :url => (refinery.admin_page_path(@page.uncached_nested_url) if @page.persisted?) do |f| %> 2013-02-08T18:52:21+00:00 app[web.1]: app/views/refinery/admin/pages/_form.html.erb:2:in
_app_views_refinery_admin_pages__form_html_erb__3238228840078173087_63152160'The text was updated successfully, but these errors were encountered: