Blank Node display page

mrfelton - September 21, 2009 - 16:29
Project:Pageroute
Version:6.x-1.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:sgilits
Status:closed
Description

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.

#1

sgilits - September 24, 2009 - 13:19

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

ramsalt - September 24, 2009 - 11:29

I can confirm this.
No parameters in URL

#3

mrfelton - September 24, 2009 - 14:40

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

#4

sgilits - September 30, 2009 - 10:20

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

#5

sgilits - September 30, 2009 - 14:07
Assigned to:Anonymous» sgilits
Status:active» needs review

I made a patch for this issue...

AttachmentSize
pageroute_blanknodedisplay_001.diff 775 bytes

#6

fago - September 30, 2009 - 14:19
Status:needs review» fixed

thanks, committed.

#7

System Message - October 14, 2009 - 14:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.