View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007947 | mantisbt | roadmap | public | 2007-05-09 11:17 | 2007-08-02 02:28 |
Reporter | briggsal | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0a3 | ||||
Fixed in Version | 1.1.0a4 | ||||
Summary | 0007947: when bulk assigning target version I get permission messages | ||||
Description | When I bulk assign certain issues I get an error message : You did not have appropriate permissions to perform that action on the following issues. I have no idea why as I am administrator - but it means I haev to go into each and manually change - where apparently my permissions are good enough! | ||||
Additional Information | The issues are in a sub project - this might help. | ||||
Tags | No tags attached. | ||||
I think the cause of the problem is in the function access_get_status_threshold() defined in the 'core/access_api.php' which is called from line 116 of bug_actiongroup.php. -- |
|
I have tried this morning with a set of issues that were in the status of assigned and got the same error message so I don't think that the diagnosis is correct. |
|
Hi briggsal, Currently, bulk assigning requires an assignee to have privilege to (1) change bug status to 'assigned' or (2) update bug status if the current status is 'new'. -- Though I believe the change is valid, you should wait until someone in the dev team admits it. |
|
Unfortunately as stated in the original issue - I am logged in as an administrator with all privileges - still doesn't work. As you suggest I will wait for someone to approve those code changes. Annoying I swiftly performed this upgrade to get the bulk update facility - which is not working still. |
|
It looks like we are talking about different matter... The bulk assigning feature existed at least in version 1.0.0. If I am wrong, tell me exactly what you did step by step. |
|
Oops...sorry, it was in the summary of the issue. I will look into the REAL issue, later. |
|
At line 199 and 214 of bug_actiongroup.php, it seems to check version or something. if ( version_exists( $t_project_id, $f_version ) ) { But here's the actual definition of the function. function version_exists( $p_version_id ) { As a result, it executes a query "SELECT * FROM mantis_project_version_table WHERE id='X'" with project id as X. It doesn't make sense to me, but, as you can see, I am almost blind tonight. |
|
Replacing the line 199 and 214 of bug_actiongroup.php will fix the problem. Current: Replace with: I guess it would be the intent of the original author, the error message for the validation seems to be a little bit misleading though. |
|
yes that fixes the problem |
|