View Issue Details

IDProjectCategoryView StatusLast Update
0006032mantisbtbugtrackerpublic2005-09-11 08:12
Reporterhgaland Assigned Tothraxisp  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Product Version1.0.0rc1 
Summary0006032: APPLICATION ERROR 0000700 when managing project
Description

Under particular conditions, manage_proj_edit_page.php crash with APPLICATION ERROR 0000700 when displaying the sub-projects area fields.

This is due to an incorrect parameter in access_has_project_level function call

Additional Information

<!-- Add subproject -->
<tr>
<td class="left" colspan="2">
<form method="post" action="manage_proj_subproj_add.php">
<input type="hidden" name="project_id" value="<?php echo $f_project_id ?>" />
<select name="subproject_id">
<?php
$t_all_subprojects = project_hierarchy_get_subprojects( $f_project_id );
$t_all_subprojects[] = $f_project_id;
$t_manage_access = config_get( 'manage_project_threshold' );

$t_projects = project_get_all_rows();

$t_projects = multi_sort( $t_projects, 'name', ASC );

foreach ( $t_projects as $t_project ) {
    if ( in_array( $t_project['id'], $t_all_subprojects ) ||
         in_array( $f_project_id, project_hierarchy_get_all_subprojects( $t_project['id'] ) ) ||
  • ! access_has_project_level( $t_manage_access, $t_project ) ) {
  • ! access_has_project_level( $t_manage_access, $t_project['id'] ) ) {
    continue;
    }
    ?>
TagsNo tags attached.

Relationships

duplicate of 0005861 closedthraxisp APPLICATION ERROR 0000700 on manage_proj_edit_page.php?project_id=xx 

Activities

hgaland

hgaland

2005-07-28 04:29

reporter   ~0010996

Sorry, ignore this, I Just found it allready declared in the issue database.