Skip to content

Commit

Permalink
Fix the handling of null persistence keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdpi committed Oct 1, 2012
1 parent cc2ce99 commit 321c89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bi-platform-v2-plugin/src/org/pentaho/cdf/views/View.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void fromJSON(JSONObject json) {
_id = json.getString("id");
_timestamp = new Date(json.optLong("timestamp",0));
_user = json.getString("user");
_key = json.optString("key");
_key = json.isNull("key") ? null : json.optString("key");
_solution = json.getString("solution");
_path = json.getString("path");
_file = json.getString("file");
Expand Down

0 comments on commit 321c89e

Please sign in to comment.