Forum Topics are not shown in the forum overview page

stevryn - January 13, 2009 - 14:53
Project:Node Form Rearrange
Version:6.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

We recently upgraded to 6.8 and are now having issues with forums. When you post a new forum topic, it is published, shows up in all views, blocks, etc. It does not show up in the forum overview page. The count is adjusted correctly, but the new topic is not present in the list.

I have tried all the various solutions for similar issues I found here, and then after having NO luck, completely removed every trace of the forum module from the site and database. Everything.

I reinstalled the module and then created the containers and forums I needed. It created vocabulary and terms automatically in admin/content/taxonomy

I then tried to post a new topic, and again it doesn't show in the over view page.

What I have discovered is that if I go to admin/content/node (gives you your content listing) and I select my new forum topic, select "publish" from the drop down, and hit update....the forum topic will then appear in the over view page. i have verified in the database that the topic IS set to published when originally created, so it isnt a matter of it not being flagged as published.

I do also have forum access & acl, BUT had completely removed them as well, and did not reinstall them when testing. I have tried literally everything I can find on here and come up with...to no avail.

There appears to be some strange thing with submitting the new forum topic as opposed to a topic created and then "republished" via admin/content/node

Can anyone help with this?

#1

stevryn - January 13, 2009 - 21:17

So upon cleaning out every thing to do with forums again, including my existing posts, I have discovered that when adding a new forum topic, the "forum" table doesn't get populated for some reason. This is why the posts don't show, however the reason why it isn't being populated is a mystery. I have a clean drupal install that works fine so this must be something that changed during the upgrade process. I can manually enter the nid, vid(version id) and tid.....and it shows up properly.

#2

ainigma32 - January 13, 2009 - 21:28
Status:active» postponed (maintainer needs more info)

I have a clean drupal install that works fine so this must be something that changed during the upgrade process.

It could also be some contributed module that is misbehaving.

Do you have any contrib module installed that interact with the forum module? and have you tried disabling those?

And finally, any sign of trouble in the logging (both Drupal and Apache) ?

- Arie

#3

stevryn - January 14, 2009 - 14:46
Status:postponed (maintainer needs more info)» active

I completely removed any module having anything to do with forum. Uninstalled, and removed all traces from the database. Something happens (or doesn't in this case) when you save the new topic. It skips the inserting of the nid, vid, tid into the "forum" table.

And no problems logging in. Everything else is working fine.

#4

ainigma32 - January 14, 2009 - 14:51
Status:active» postponed (maintainer needs more info)

And no problems logging in

I meant if you can see anything in the error logs LOL

If you can't you may have a bug on your hands. That is if someone else can verify this behavior.

- Arie

#5

stevryn - January 14, 2009 - 17:45

Ahh. I must learn to read slower ;)

I don't see any errors in the Apache logs or in the Drupal logs. out of the box the forums work fine, so this is something that changed after or during the update. I'm going to keep playing around with various modules that have been added (even if they don't have anything to do with forums!)

#6

stevryn - January 14, 2009 - 19:43
Project:Drupal» Node Form Rearrange
Version:6.8» 6.x-1.0
Component:forum.module» Code
Category:support request» bug report
Status:postponed (maintainer needs more info)» active

SOLVED!!!! It was indeed another module...but not one really related to forums

This can be reproduced, simply enable the module and try to create a new forum topic...it will not show in the listing. I have done this on a clean Drupal install.

Since the module wasn't really related to forums, I never suspected it.....

Moving the issue to node_form_rearrange modules page....as a bug report.

Thanks for your help!

#7

nicholas.alipaz - February 2, 2009 - 11:15

I too can confirm the exact same symptoms/issues.

#8

lillywolf - February 6, 2009 - 21:38

Having the exact same issue. What was the module that was causing the problem?

#9

lillywolf - February 6, 2009 - 21:40

Ah, I see...node_form_rearrange. I don't have that installed, though. But I'm having the same problem - forum table not populated and threads not showing, but everything else is right.

#10

luisfeng - February 24, 2009 - 01:04

node_form_rearrange does have the bug... hope it will be patched...

#11

nicholas.alipaz - February 27, 2009 - 17:09
Priority:normal» critical

I don't know why this bug wasn't set to critical earlier. But this severely effects the usability of this module. I had to uninstall.

#12

radj - March 3, 2009 - 07:47

Just confirming the issue. Here's what I did:

- Forum topics already not listing like it should
1) created a new forum topic (test topic)
after submission, the topic still isn't listed
2) disabled the NFR module
topics still are NOT listed under the board
3) edited the topic and saved
the test topic was listed again.

I hope it helps, a better workaround than having to recreate the whole forum again.

Also subscribes me to the issue. Teehee. ^_^

#13

asak - March 5, 2009 - 19:08

I can confirm.

This was nasty - i'm glad it's over and a solution exists...

#14

chiddicks - March 6, 2009 - 16:59

Ok, I recreated the bug and it's indeed a problem. It's somewhat consistent with a lot of the other bugs that have been popping up with this module and so I'm considering a major rethink of this module. My guess is that modules that use taxonomy to organize content, like forum and perhaps image galleries, are likely candidates for bugs.

I'm planning on moving this from the Form API level to the theme layer. It doesn't make a lot of sense to me conceptually but the theme subsystem provides really powerful tools for reorganizing forms with messing with data flow. Messing with the data flow (the structured node form array specifically) is what this module does and it's causing a lot of the incompatibilities in the issue queue.

#15

Nick_vh - May 5, 2009 - 08:13

I made a patch for this.
This patch creates a settings page (admin/node-form-rearrange)
Just check the content types for which you want node rearrange to function.
This will able you to specify more in detail where you want that this module goes loose in rearranging

AttachmentSize
node_form_rearrange_settings.patch 7.96 KB

#16

chiddicks - May 11, 2009 - 16:37

Slick. I'll try to review and commit this tonight.

*Edit* Having a lot of problems applying this patch. Perhaps it was made backwards? Could you reroll the patch please?

#17

Nick_vh - May 13, 2009 - 10:16

This should be better.. My apologies!

AttachmentSize
settings_node_form_rearrange.patch 4.82 KB

#18

browlands - May 13, 2009 - 21:50

subscribing

#19

browlands - May 13, 2009 - 21:56

confirming node form rearrange is causing a problem, turned module off and new posts now showing.

#20

izus - May 22, 2009 - 23:12

I just have the same issue whith the forum module in my website but i dont have any of the modules that seem to cause the problem !!!

All that i enabled as modules are :

Advanced Forum
Author Pane
cas
shout box
content(CCK)
Database logging
forum (of course !)
locale
menu
Smileys

and this is all !!

I made a try when disabling "Advanced Forum" and "Author Pane" modules but it doesn't work !

Did someone found a solution please ?

-izus

#21

chiddicks - September 3, 2009 - 21:11

Finally committed this patch, along with a few of my own changes to carry the settings through the other pieces of code. Please test the dev version.

This patch may or may not solve your problem - it simply allows you to turn on this functionality per content type, preventing potential incompatibilities with certain content types while allowing use on other content types.

#22

Nick_vh - September 3, 2009 - 22:26

nice one :-)

But it should find a way to make less changes to this form arrays I think.
Maybe this module isn't necessairy anymore in D7? I have no clue! :-)

 
 

Drupal is a registered trademark of Dries Buytaert.