Project

General

Profile

Actions

Defect #1489

closed

Slice - protection interval - problem when contract is not interrupted

Added by Vít Švanda almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Contractual relationship
Target version:
Start date:
02/06/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:
Actions #1

Updated by Vít Švanda almost 6 years ago

  • Tracker changed from Task to Defect
Actions #2

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 0 to 90

Calculation of the protection worked correctly when some contract validity gap exist. If diff between contract validity from (on next slice) and contract validity till (on current slice) was less then 0, then was shrotened validity of main contract (because valid from on next slice was used as valid till on main contract).

Fix: Validity from on next slice is using as validity till of main contract only if diff (between contract validity from (on next slice) and contract validity till (on current slice)) is greater then 0.

Commit + test:
https://github.com/bcvsolutions/CzechIdMng/commit/6e4f2ae95c698c6b7d9dd35fc8ac41a2d9f0d27b

Actions #3

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I did test and review, it works! Thx.

Note: can be cherry picked into older versions (or workarround with overriding DefaultContractManager can be used), if needed.

Actions #4

Updated by Vít Švanda almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF