The Stack Overflow podcast is back! Listen to an interview with our new CEO.
2 more focus on the problem in the title
| link

Case roles onManager is not shown for closed cases

source | link

Case roles on closed cases

I'm testing an upgrade from 4.6.38 to 5.5.3 and have noticed a new case related behavior that feels a little strange to me. When you close a case and subsequently the case roles expire and are disabled they no longer show on the manage case screen (in the roles section).

This issue prompted a PR that I think is the cause. If a civicase is reopened why isn't the Case Coordinator (and other roles) reinstated?

I've not been in 4.7, so the verbiage 'reinstate' roles is confusing to me. In 4.6.38, when a case was closed while the relationship may have been inactive but the case manager still showed on the case. As Demerit pointed out as a comment on that issue "I'm pretty sure they used to stick around - maybe something changed recently. Otherwise, you wouldn't be able to see what they were on closed cases."

I've verified on the demo site that if you close a case, case roles do, in fact, 'disappear' on the manage case screen. This is strange to me, why wouldn't you want to be able to reference who a case manager was on a closed case?

In the PR, line 849 has, $activeOnly = TRUE. If I set that to FALSE, I can see case managers on closed cases. But I'm afraid that will have an effect beyond the manage case screen. Can this variable be set for just the manage case screen to "FALSE" so that you can still see Case Managers on closed cases?