Project

General

Profile

Actions

Task #2329

closed

Support multivalued role column in ImportCSVUserContractRolesTaskExecutor

Added by Marek Klement almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Peter Štrunc
Target version:
Start date:
06/17/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Task ImportCSVUserContractRolesTaskExecutor should be changed. There are some issues:
  • Column with roles is not multivalued as name insist
  • When a role is assigned to all contracts of the user, values of the EAV column have to be empty - use boolean instead
  • Use only for the main contract - add boolean property
  • At line 138 there is used isEmpty method - better use StringUtils.isBlank()
  • Default definition of eav is used - maybe in configuration add a property with the name of the definition

Related issues

Related to extras - Defect #2323: ImportCSVUserContractRolesTaskExecutor - Contract EAV is null instead of empty StringNew06/12/2020

Actions
Actions

Also available in: Atom PDF