Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359187 - date value converted to strings in new processing due to gap in JSON/BON
Summary: date value converted to strings in new processing due to gap in JSON/BON
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Smila (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Juergen Schumacher CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 03:43 EDT by thomas menzel CLA
Modified: 2022-07-07 11:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas menzel CLA 2011-09-28 03:43:13 EDT
With the new processing (no AMQ) it seems that internally Json/BON  is used and as a consequence date values are converted (due to json parser) and hence aren't available as dates in workers/pipelets.

this is somewhat a deal breaker that rely on date objects being passed in, such es for instance the new solr integration.

depending on how fast this gets fixed we might need a workaround for the solr here, where we define the date fields in the pipelet config...

see http://dev.eclipse.org/mhonarc/lists/smila-user/msg00145.html
Comment 1 Igor Novakovic CLA 2011-09-30 08:30:49 EDT
Yes indeed, since  there is no standard way of describing dates in JSON we have to come up with our own solution. I've just started the discussion in our mailing list and after an agreement we will implement it after release 0.9.

I am also reducing the severity of this issue to "normal" since there are valid workarounds that can be easily implemented.
Comment 2 Juergen Schumacher CLA 2011-10-24 07:26:12 EDT
We changed the implementation to parse JSON/BON strings to date/datetime values if they have the correct format. For details see http://wiki.eclipse.org/SMILA/Documentation/Data_Model_and_Serialization_Formats .
Comment 3 Juergen Schumacher CLA 2011-10-27 04:30:13 EDT
Implementation finished, no problems reported, so I close this one (;
Comment 4 Andreas Weber CLA 2013-04-15 11:50:08 EDT
Closing this