Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359187

Summary: date value converted to strings in new processing due to gap in JSON/BON
Product: z_Archived Reporter: thomas menzel <tmenzel>
Component: SmilaAssignee: Juergen Schumacher <juergen.schumacher>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.dohn
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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