| Summary: | [DataBinding] null value for model-side Date property causes NPE | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Boris Bokowski <bokowski> | ||||||||||
| Component: | UI | Assignee: | Matthew Hall <qualidafial> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | bradleyjames, qualidafial | ||||||||||
| Version: | 3.2 | Keywords: | helpwanted | ||||||||||
| Target Milestone: | 3.5 M6 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Boris Bokowski
Not sure if this is still a problem. This bug is still relevant. DateConversionSupport attempts to format a Date into a String without checking whether the Date is null I hope you don't mind that I assign this bug to you. sure Created attachment 123783 [details]
Patch with test
Boris, +1 for M5?
Created attachment 123784 [details]
mylyn/context/zip
Given the low traffic on this bug, I would vote for fixing this in M6 rather than M5. What is the value you would expect to have returned when DateFormatSupport.format(Date) is called with a null argument? Null or empty string? Created attachment 123812 [details]
Same patch (can't remember if I changed anything, but just in case)
Created attachment 123813 [details]
mylyn/context/zip
Released to HEAD > 20090216 Verified in I20090428-0100 |