Project:Pageroute
Version:6.x-1.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:sepgil
Status:closed (fixed)

Issue Summary

Create a new pageroute
Add a page of type Node display
Try and use the pageroute
I get a blank page (node doesn't display - I just get the pageroute title)

The following fixes:

Index: pageroute.module
===================================================================
--- pageroute.module (revision 779)
+++ pageroute.module (working copy)
@@ -102,7 +102,7 @@

   if (!isset($form_state['storage'])) {
     $form_state['storage']['create'] = TRUE;
-    return;
+//    return;
   }

   if (!isset($form_state['storage']['route'])) {   // first call

I'm sure you have a reason to return if $form_state['storage'] isn't set, but it seems to never be set for me, so commenting out that linke fixes my issue - though it will probably introduce other issues as I haven't tested it much.

Comments

#1

couldn't reproduce this... What node id did you use in the page options, 0 or something else? Did use any parameter in the URL?

#2

I can confirm this.
No parameters in URL

#3

I used the Node ID of a new node that I created for this purpose. No parameters in the url.

#4

The bug seems to appear only in the stable drupal version and the patch that mrfelton submitted seems to fix it.

#5

Assigned to:Anonymous» sepgil
Status:active» needs review

I made a patch for this issue...

AttachmentSize
pageroute_blanknodedisplay_001.diff 775 bytes

#6

Status:needs review» fixed

thanks, committed.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.