Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Problem to change r...
 
Notifications
Clear all

Problem to change rate of ressource in a pool

3 Posts
3 Users
0 Reactions
2,145 Views
(@fge)
Posts: 1
New Member
Topic starter
 
[#5233]

I add one ressource in pool A with 100% rate
If I want to change the rate to 60%, an error occurs because of use over than 100%
To bypass the problem, you have to change rate to 0%, save it and change rate to 60%


 
Posted : 21 Jun 2018 13H34
(@alain-fourastie)
Posts: 366
Member Moderator
 

Good afternoon,

Anomaly confirmed.
Ticket 3438
The correction will be made in the next patch


 
Posted : 21 Jun 2018 14H40
(@babynus)
Posts: 14952
Member Admin
 

Issue fixed.
Will be deployed with next patch.

Fix is to add 4 lines after line 65 in /model/ResourceTeamAffectation.php, this way (4 last lines) :

  public function control(){
    $result="";
    if($this->idle==0){
      $idResource = $this->idResource;
      $rate = $this->rate;
      if($this->id){
        $teamAff = new ResourceTeamAffectation($this->id);
        $rate = $rate - $teamAff->rate;
      }

 
Posted : 21 Jun 2018 16H18
Share:

Scroll to Top