MantisBT - v2.0 Release (Closed)
View Issue Details
0000454v2.0 Release (Closed)[All Projects] Generalpublic2010-05-31 11:202010-06-21 21:11
Reporteropto 
Assigned Tocaseydk 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Versionv2.0.0 
Summary0000454: can't display user related task priority for single user, can't reset the same to normal
Descriptionsee http://forums.web2project.net/viewtopic.php?t=2152 both for description and patch
TagsNo tags attached.
Attached Fileszip tasksperuser_sub.zip (7,120) 1969-12-31 16:00
https://bugs.web2project.net/file_download.php?file_id=89&type=bug

Notes
(0000923)
opto   
2010-05-31 15:55   
currently, there is no way to intentionally display all users on this page.
This can be changed the following way:

in reading the POST for $log_userfilter, use default 0

before the arrayselect for the displayed user list is called,
enter '0' => 'All users' to the array containing the user names.
If I remember right from what I did 6 weeks ago, this allows to select 'all users'.

Also, in my case, where the display of all users takes 100sec, I just use another default than 0 for my installation
(0000925)
caseydk   
2010-05-31 20:29   
Resolved differently than described but the same result in r1129.
(0000932)
opto   
2010-06-01 07:46   
(Last edited: 2010-06-01 07:57)
sorry, the forum post also had another issue:

can't reset the user task priority to normal because there is an onchange event for the drop down list, if this is preset with normal in default display, it cannot be thrown by setting to normal.

In the current version, part of my proposal is there, but not all:
I see select user prio, high, normal, but no low.

Setting to high works, resetting to low does not.

if you change
$taskPriority[999]=$AppUI->_('Select User Priority');

and -1 to 999 in
    $tmpuser .= '<td align="center">' . arraySelect($taskPriority, 'task_priority', 'onchange="javascript:chPriority(' . $user_id . ');" size="1" class="text" title="' . $AppUI->_('Change Priority of selected Tasks') . '"', -1, true);

this is resolved.
beware, there is another location of this for the orphans, where it also needs to be changed.


No low in dropdown:
I intentionally set the set user priority to 999, because the priorities are centered around 0: low is -1 (at least in my dP conversion - is that nonstandard now?). And nobody (hopefully) will have +- 999 priority levels
So currently, the select ... at [-1] overwrites the low priority.
Klaus

(0000938)
caseydk   
2010-06-02 19:50   
Thanks for the tips.
Resolved in r1131.

Issue History
2010-05-31 11:20optoNew Issue
2010-05-31 11:20optoFile Added: tasksperuser_sub.zip
2010-05-31 11:45caseydkStatusnew => assigned
2010-05-31 11:45caseydkAssigned To => caseydk
2010-05-31 15:55optoNote Added: 0000923
2010-05-31 20:29caseydkNote Added: 0000925
2010-05-31 20:29caseydkStatusassigned => resolved
2010-05-31 20:29caseydkResolutionopen => fixed
2010-06-01 07:46optoNote Added: 0000932
2010-06-01 07:46optoStatusresolved => feedback
2010-06-01 07:46optoResolutionfixed => reopened
2010-06-01 07:51optoNote Edited: 0000932
2010-06-01 07:57optoNote Edited: 0000932
2010-06-02 19:50caseydkNote Added: 0000938
2010-06-02 19:50caseydkStatusfeedback => resolved
2010-06-02 19:50caseydkResolutionreopened => fixed
2010-06-21 21:11caseydkStatusresolved => closed
2010-06-21 21:11caseydkFixed in Version => v2.0