History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-867
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ian Springer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

config props with empty string value (i.e. "") are persisted as NULL by Oracle, so the actual value is lost

Created: 19/Sep/08 08:41 PM   Updated: 13/Oct/08 03:37 PM
Component/s: FX - Configuration, Core Server
Affects Version/s: 1.0.1
Fix Version/s: None

Time Tracking:
Original Estimate: 2 hours, 30 minutes
Original Estimate - 2 hours, 30 minutes
Remaining Estimate: 2 hours, 30 minutes
Remaining Estimate - 2 hours, 30 minutes
Time Spent: Not Specified
Remaining Estimate - 2 hours, 30 minutes


 Description  « Hide
This is unfortunate, because we jumped through a lot of hoops in the GUI layer to distinguish null (aka unset) values from empty values. This was to allow a user to specify one or the other, depending on if they want the prop to be unset (which tells the plugin to either specify null as the value or to not specify any value), or if they want the property to literally have "" as the value. This distinction is currently thrown away if the Server database is Oracle. The solution is probably to store some sort of special marker value in the DB to represent an empty string (e.g. a TAB character or some other character that's impossible to even enter via the GUI).


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.