Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMLGregorianCalendarImpl in entities #52

Closed
rsoika opened this issue Oct 23, 2014 · 4 comments
Closed

XMLGregorianCalendarImpl in entities #52

rsoika opened this issue Oct 23, 2014 · 4 comments
Milestone

Comments

@rsoika
Copy link
Member

rsoika commented Oct 23, 2014

I found very old entities (e.g. in the setup.xml file from office-workflow) created in 29.05.2013 were the property 'timworkflowlastaccess' is from the type
'XMLGregorianCalendarImpl' !

This is realy strange and funny. E.g. I try to import such data into a new wildlfy 8.1 server (runnin with postresql) a ClassNotFound exception is thrown.

@rsoika
Copy link
Member Author

rsoika commented Oct 23, 2014

Maybe the only workarround is to write a migration agent to change the XMLGregorianCalendarImpl object into a Java Calendar object.

@rsoika
Copy link
Member Author

rsoika commented Oct 10, 2015

can be reproduced with imixs-script client

@rsoika rsoika added bug and removed question labels Oct 10, 2015
@rsoika
Copy link
Member Author

rsoika commented Oct 10, 2015

The problem is associated with the JAX-RS implementation. Seems to be an issue of wildfly
When we receive an XML object via Rest Service API

 WorkflowRestService.postWorkitemXML

then the object can contain an instance of

XMLGregorianCalendar

In this case we need to convert this object into a

java.util.Date 

object

rsoika added a commit that referenced this issue Oct 10, 2015
@rsoika rsoika added the testing label Oct 10, 2015
@rsoika
Copy link
Member Author

rsoika commented Oct 10, 2015

fixed

@rsoika rsoika added this to the 3.4.0 milestone Oct 10, 2015
@rsoika rsoika closed this as completed Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant