Hi,

When I create a new project release, everything is fine and the release is categorized accordingly under:

Projects / Modfications / ImplosiveGrenades / Releases / ImplosiveGrenades 2.0.0-RC

and is listed in View All Releases

However, when I go to edit that project release, after having edited it, it get its category stripped... as such its put under:

Projects / / Releases / ImplosiveGrenades 2.0.0-RC

and is NOT listed in View All Releases...... which I really need it listed under of course.

This is quite annoying and I'm hoping that there is a quick fix somewhere that I have missed while searching...

Thanks a lot for any help in advance,

Wayne

CommentFileSizeAuthor
#14 $node-pidgrepoutcome.txt2.84 KBwatbe
#14 pidgrepoutcome.txt47.09 KBwatbe

Comments

aclight’s picture

Status: Active » Postponed (maintainer needs more info)

We need more specific information to troubleshoot this.

1. Please provide the actual paths (URLs) on your site where things work and don't work.
2. When you say "the release is categorized accordingly under:", are you giving the breadcrumb visible when you're viewing the release node, or do you mean that you have a multi-level hierarchy project type vocabulary?
3. Please paste the entire hierarchy of your Project type vocabulary and your API Compatability vocabulary.
4. Please provide a list of all core and contributed modules in use on your site, with their versions. In addition, what version of Drupal core are you using?
5. Are there any errors displayed on the page or in your watchdog log that you think are relevant to this problem?

watbe’s picture

1. http://crycity.wonderingfish.com/node/add/project_release/67
2. the breadcrumb visible when you're viewing the release node
3. Project types:
Assets
-- Models
-- Scripts
Levels
-- Custom gamemode
-- Mappacks
-- Multiplayer
---- Custom Multiplayer Gamemode
---- Instant Action
---- PowerStruggle
-- Singleplayer
-- WIP
Modfications
-- Minor mod
-- Single and Multiplayer Maps
-- Total Conversion
Other

Project release API compatibility: (single term)

Patch 1.2

4. Installed and enabled modules

Drupal 5.8

Active Select 5.x-1.0

Add This Button 5.x-1.2

Drupal Administration Menu 5.x-2.6

Backup and Migrate 5.x-1.0

Bbcode 5.x-2.1

CAPTCHA 5.x-3.1

Content Construction Kit (CCK) 5.x-1.7

CCK Taxonomy Fields 5.x-1.2

Chat Room 5.x-1.9

Code Filter 5.x-1.1

Collapsible Text 5.x-1.0

Comment Subscribe 5.x-1.1

Comment Upload 5.x-0.1

Content Taxonomy 5.x-1.x-dev (2008-Jul-08)

Dependent fields 5.x-1.4-beta

Diff 5.x-2.0

Fivestar 5.x-1.12

Flag content 5.x-2.8

Header image 5.x-1.1

Image 5.x-2.0-alpha2

ImageField 5.x-2.1

IMCE 5.x-1.2

Job queue 5.x-3.0

Javascript Tools 5.x-1.1

Link 5.x-2.3

modr8 5.x-2.4

Mollom 5.x-1.4

Node Hierarchy 5.x-1.1

Node Teaser 5.x-1.1

Organic groups 5.x-7.3

Panels 5.x-1.2

Pathauto 5.x-2.3

phpbbforum 6.x-1.0-beta4

PicLens 5.x-1.5

Printer-friendly Pages 5.x-3.6

Project 5.x-1.2

Project issue tracking 5.x-2.2

Project Maintainers 5.x-1.0

Redirect 403 to User Login 5.x-1.x-dev (2008-Feb-01)

reCAPTCHA 5.x-2.5

Search 404 5.x-1.1

Smileys 5.x-1.2-beta

String Overrides 5.x-1.6

Subscriptions 5.x-2.2

Taxonomy Batch Operations 5.x-1.0

tellafriend 5.x-2.7

Term message 5.x-1.0-beta

Theme Settings API 5.x-2.8

TinyMCE WYSIWYG Editor 5.x-1.9

TinyMCE Automatic Configuration 5.x-5.x-dev (2008-Feb-19)

Token 5.x-1.11

uBrowser 5.x-1.3

Update Status 5.x-2.2

User Points 5.x-3.7

User Points Voting API 5.x-2.2

Views 5.x-1.6

Voting API 5.x-1.6

Web File Manager 5.x-2.13

WebFM Images 5.x-1.2

Webform 5.x-2.1.1

Webform (Show Own Form Results) 5.x-1.0

Wikitools 5.x-1.2

Workspace 5.x-1.0

Really sorry about the long list....

All modules are up-to-date.

5. No errors logged.

Feel free to create a temp account on http://crycity.wonderingfish.com/ and test the problem out. (tell me the username though)
Create a test project and then make a release. now edit the release and see what happens ;)

Cheers and thanks for any help!

aclight’s picture

I see that at, as an example, http://crycity.wonderingfish.com/project/release/project-200-rc the breadcrumb does not look right.

However, you have quite a few modules installed, and my hunch is that there is a conflict between project/project release and one or more of your contributed modules.

The best thing to do is to start from a fresh Drupal install, then enable the project and project release modules, and then try enabling one or two additional contrib modules at a time, and each time check to see if you have this problem. Hopefully you would be able to isolate the problem to one or two modules, and then we can go from there.

This isn't something I've seen on my development or live sites, but I'm not running nearly as many modules as you are.

watbe’s picture

Would there be any obvious clue as to which module(s) have the potential to conflict with releases?

Cheers

aclight’s picture

I would take a look at the {project_release_nodes} table for some of the release nodes that you've had problems with. If the value in the pid column for that node is totally wrong, then my guess is that you're running into a well known problem (see #98278: project* namespace bugs in $node). If this is the case the problem is probably being caused by another module which overwrites $node->pid (project id to the project/project release modules) with another value, thus dissociating the release node from the project itself. You could try using grep to search through your code base for '$node->pid' and try disabling any modules that come up. If you do happen to figure out the module that's interacting to cause the problem, please mark this issue as a duplicate and comment in the issue I mentioned above with the module that was the problem.

If it turns out that the information in the database is all correct, then I'm not quite sure where the problem is coming from. My tendency would be to guess it's a problem with some module that's taxonomy related, but I don't really know.

watbe’s picture

ok, I'll do what I can. Thanks for your help.

Edit: how can I tell if the PID is wrong?

watbe’s picture

nvm, the PID of the bugged releases do not match the NID of the projects...

Should I start looking into modules now?

aclight’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Yep.

I'm going to go ahead and mark this as a duplicate of #98278: project* namespace bugs in $node. Please follow up there if you figure out what module is interacting.

watbe’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)

is it possible to narrow down modules even more?

1. Is there a list of known modules that work with Project? (i.e the ones you have installed on your server)
2. Is it possible to narrow them down as the problem only occurs after EDITing the project release?

Thanks heaps

aclight’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

No, not really. I can tell you that views works fine, but that might be the only module I'm using on my site that you also use. My site, which runs project, as well as d.o, both run very few modules compared to most drupal sites.

As I suggested earlier, I'd suggest you grep your code base for some possible conflicts. From the command line, something like this:
grep -rin -e '$node->pid' .

Run this command from your base drupal installation (eg. /drupal) and then investigate the matches.

If you read through the other issue, you'll find a few modules that people have reported as causing problems. But the are likely more.

watbe’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)

I host drupal on a shared server so I don't have access to the command line, is there any other way to run grep?

aclight’s picture

You can download all of your files to your local machine and do it that way. If you're using windows you'll probably want to install cygwin for the various unix tools.

watbe’s picture

ok, will do.

watbe’s picture

StatusFileSize
new47.09 KB
new2.84 KB

Ok I've done the search (you made the command wrong btw, it should be: grep -rin -e '$node->pid' * )

The only modules that appear are project and project_issue... help (I didn't think I should post in the other node)
I've attached the grep output if you want to look at it.

Also I did a grep just on pid, but it came up with some which I don't know about. Is a PID entry widely used? Also posted that outcome.

Thanks for taking your time to help, I really appreciate it.

I've disabled a lot of modules already, but can't seem to find the one yet, still going :)

watbe’s picture

omg, I finally found it....

ok everyone, Project Releases conflict with PATHAUTO. Took me 3 hours to get to this point.

then i did a quick search on project module conflicts.... http://drupal.org/node/193635

hehe i'm so dumb.

thanks for helping me anyway!

aclight’s picture

Yeah, searching for just $node->pid will only get the really obvious problems, because not all modules call the loaded node object $node in all places. Even the project and project_release modules sometimes use $project instead. So grepping is imperfect.

But, I'm glad you figured it out. I'm going to post an issue in the pathauto issue queue pointing the maintainers to this thread. They may be able to offer some advice. If they ask any follow up information here, please respond to them.

aclight’s picture

watbe’s picture

cool, thanks.

why is it crossed out? (what does it mean)

aclight’s picture

Issues that are closed, duplicate, fixed, etc. and which are put into a node in the following format:

[#nid]

are displayed with a strike through line.

greggles’s picture

Status: Postponed (maintainer needs more info) » Fixed

I guess this is kind of fixed, right? It's been documented at least.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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