| Summary: | [PMI] Some projects have an empty Project Links block | ||
|---|---|---|---|
| Product: | Community | Reporter: | Edouard Poitras <edouard> |
| Component: | Project Management & Portal | Assignee: | Edouard Poitras <edouard> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | edouard, wayne.beaton |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://projects.eclipse.org | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 456831 | ||
|
Description
Edouard Poitras
There are two ways of specifying a proposal. For older projects, there is a field in which a URL can be provided. These proposals are generally not found in the PMI, but are instead under http://www.eclipse.org/proposals For newer projects--ones that have a proposal in the PMI--the proposal document contains a "project" field (i.e. a back pointer). See #project_proposals_project_links e.g. if ($proposal = Project_Proposal::getForProject($project->node->nid)) { $url = 'node/' . $proposal->node->nid; } elseif (!$url = $project->getProposalUrl()) return; (In reply to Wayne Beaton from comment #1) > e.g. > > if ($proposal = Project_Proposal::getForProject($project->node->nid)) { > $url = 'node/' . $proposal->node->nid; > } elseif (!$url = $project->getProposalUrl()) return; Thanks Wayne, that helped. This bug is now fixed. |