cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAY-2447) crypto support for LocalDateTime
Date Thu, 02 Aug 2018 14:49:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev reassigned CAY-2447:
------------------------------------

         Assignee: Nikita Timofeev
    Fix Version/s: 4.1.M3
       Issue Type: Improvement  (was: Bug)

> crypto support for LocalDateTime
> --------------------------------
>
>                 Key: CAY-2447
>                 URL: https://issues.apache.org/jira/browse/CAY-2447
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 4.0.B2
>            Reporter: Vital Zanko
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M3
>
>
> java.time.LocalDateTime is not being encrypted. 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.objectToBytes
does not contain java.time.LocalDateTime:
> {code:java}
> java.lang.IllegalArgumentException: The type java.time.LocalDateTime for attribute DbAttr:
VARBINARY CRYPTO_birth_date[512] has no object-to-bytes conversion
> at org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.createEncryptor(DefaultValueTransformerFactory.java:118)
> at org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.encryptor(DefaultValueTransformerFactory.java:103)
> at org.apache.cayenne.crypto.transformer.value.LazyValueTransformerFactory.encryptor(LazyValueTransformerFactory.java:43)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message