View Issue Details

IDProjectCategoryView StatusLast Update
0009893mantisbtadministrationpublic2009-06-30 05:01
ReporterKirill Assigned Tojreese  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.5 
Target Version1.1.6Fixed in Version1.1.6 
Summary0009893: Users can change status on ViewOnly Tasks
Description

In html_api.php this code:
if ( !$t_readonly ) {

UPDATE button

        echo '<td class="center">';
        html_button_bug_update( $p_bug_id );
        echo '</td>';

        # ASSIGN button
        echo '<td class="center">';
        html_button_bug_assign_to( $p_bug_id );
        echo '</td>';

    }

    # Change State button
    echo '<td class="center">';
    html_button_bug_change_status( $p_bug_id );
    echo '</td>';

and user can change noneditable task (closed).
If this change to this:

    if ( !$t_readonly ) {
        # UPDATE button
        echo '<td class="center">';
        html_button_bug_update( $p_bug_id );
        echo '</td>';

        # ASSIGN button
        echo '<td class="center">';
        html_button_bug_assign_to( $p_bug_id );
        echo '</td>';

        # Change State button
        echo '<td class="center">';
        html_button_bug_change_status( $p_bug_id );
        echo '</td>';

    }

All work fine!

TagsNo tags attached.

Activities

grangeway

grangeway

2008-12-02 15:00

reporter   ~0020196

Patch commited to GIT master branch.

Kirill

Kirill

2008-12-02 15:14

reporter   ~0020199

Thank you

jreese

jreese

2008-12-04 14:42

reporter   ~0020236

Fix ported to 1.1.6 development tree.

Related Changesets

MantisBT: master 1d43887a

2008-12-02 14:59

Paul Richards


Details Diff
fix 0009893: Users can change status on ViewOnly Tasks Affected Issues
0009893
mod - core/html_api.php Diff File

MantisBT: master-1.1.x 185dc3c8

2008-12-02 14:59

Paul Richards


Details Diff
fix 0009893: Users can change status on ViewOnly Tasks

<span class="signoff">Signed-off-by: John Reese <jreese@leetcode.net></span>
Affected Issues
0009893
mod - core/html_api.php Diff File