Project

General

Profile

Actions

Task #1076

closed

Add JodaTime to DATE and DATETIME types of EAV

Added by Alena Peterová over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Eav
Target version:
Start date:
04/18/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

When synchronizing EAVs of type DATE or DATETIME, the type org.joda.time.LocalDate is not supported. On the other hand, the contract attributes validTill and validFrom require this type.
Please support org.joda.time.LocalDate for EAV to be consistent. Now we have to write 2 different transformation scripts when synchronizing date values for contracts.

The exception:

 eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Form value [2020-02-16] for attribute [340ea78b-194c-4275-ac69-7be91dc47dcf] has to be type of [DATE], given [org.joda.time.LocalDate]


Related issues

Related to IdStory Identity Manager - Feature #527: Automatic basic type conversion for accNewRadek Tomiška06/22/2017

Actions
Actions #1

Updated by Alena Peterová over 6 years ago

  • Priority changed from Normal to High

We came across this situation for the second time (1. Helios, 2. Vema) -> increasing priority.
Please support org.joda.time.LocalDate in the synchronization of contracts EAV.

Actions #2

Updated by Radek Tomiška over 6 years ago

  • Status changed from New to In Progress
  • Target version set to Jade (8.1.0)
Actions #3

Updated by Radek Tomiška over 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Alena Peterová
  • % Done changed from 0 to 90
I've added support for:
  • org.joda.time.LocalDate
  • String in ISO 8601 format
    as value for DATE or DATETIME persistent type.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/283b5f29b1138c9d67cb29d005ab3f9828976a7f#diff-f082fcfa492d11b75ee3c5634bad9cdcR366

Could you do a feedback pls?

Actions #4

Updated by Alena Peterová over 6 years ago

  • Assignee changed from Alena Peterová to Radek Tomiška

It works great, thanks!

Actions #5

Updated by Radek Tomiška over 6 years ago

  • Status changed from Needs feedback to Closed
  • % Done changed from 90 to 100

Thx!

Actions #6

Updated by Radek Tomiška over 6 years ago

  • Related to Feature #527: Automatic basic type conversion for acc added
Actions

Also available in: Atom PDF