[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-31 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Fix Version/s: (was: 1.3.6)
   1.3.5

> clarify DocumentStore contract with respect to number formats
> -
>
> Key: OAK-3288
> URL: https://issues.apache.org/jira/browse/OAK-3288
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: core, mongomk, rdbmk
>Affects Versions: 1.2.3, 1.3.4, 1.0.19
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>  Labels: resilience
> Fix For: 1.3.5
>
> Attachments: OAK-3288.diff, OAK-3288.diff
>
>
> The DS API allows setting properties as java.lang.Integer, but 
> implementations vary in whether they can roundtrip Integers; some do, some 
> convert to Long.
> The former is observed for MongoMK (which uses BSON internally), the latter 
> is see in RDBMK (which uses JSON).
> We should
> - clarify that integers can be set, but they will come back as longs, and
> - modify existing implementations to always return longs, so bugs surface 
> early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-31 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Affects Version/s: (was: 1.2.3)
   1.2.4

> clarify DocumentStore contract with respect to number formats
> -
>
> Key: OAK-3288
> URL: https://issues.apache.org/jira/browse/OAK-3288
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: core, mongomk, rdbmk
>Affects Versions: 1.2.4, 1.3.4, 1.0.19
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>  Labels: resilience
> Fix For: 1.3.5, 1.2.5
>
> Attachments: OAK-3288.diff, OAK-3288.diff
>
>
> The DS API allows setting properties as java.lang.Integer, but 
> implementations vary in whether they can roundtrip Integers; some do, some 
> convert to Long.
> The former is observed for MongoMK (which uses BSON internally), the latter 
> is see in RDBMK (which uses JSON).
> We should
> - clarify that integers can be set, but they will come back as longs, and
> - modify existing implementations to always return longs, so bugs surface 
> early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-31 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Fix Version/s: 1.2.5

> clarify DocumentStore contract with respect to number formats
> -
>
> Key: OAK-3288
> URL: https://issues.apache.org/jira/browse/OAK-3288
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: core, mongomk, rdbmk
>Affects Versions: 1.2.4, 1.3.4, 1.0.19
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>  Labels: resilience
> Fix For: 1.3.5, 1.2.5
>
> Attachments: OAK-3288.diff, OAK-3288.diff
>
>
> The DS API allows setting properties as java.lang.Integer, but 
> implementations vary in whether they can roundtrip Integers; some do, some 
> convert to Long.
> The former is observed for MongoMK (which uses BSON internally), the latter 
> is see in RDBMK (which uses JSON).
> We should
> - clarify that integers can be set, but they will come back as longs, and
> - modify existing implementations to always return longs, so bugs surface 
> early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-31 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Fix Version/s: 1.0.20

> clarify DocumentStore contract with respect to number formats
> -
>
> Key: OAK-3288
> URL: https://issues.apache.org/jira/browse/OAK-3288
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: core, mongomk, rdbmk
>Affects Versions: 1.2.4, 1.3.4, 1.0.19
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>  Labels: resilience
> Fix For: 1.3.5, 1.0.20, 1.2.5
>
> Attachments: OAK-3288.diff, OAK-3288.diff
>
>
> The DS API allows setting properties as java.lang.Integer, but 
> implementations vary in whether they can roundtrip Integers; some do, some 
> convert to Long.
> The former is observed for MongoMK (which uses BSON internally), the latter 
> is see in RDBMK (which uses JSON).
> We should
> - clarify that integers can be set, but they will come back as longs, and
> - modify existing implementations to always return longs, so bugs surface 
> early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-27 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Attachment: OAK-3288.diff

Proposed patch; [~mreutegg]: can you have a look?

Note that the patch assumes OAK-3304 to be fixed.

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke
Assignee: Julian Reschke
  Labels: resilience
 Fix For: 1.3.6

 Attachments: OAK-3288.diff, OAK-3288.diff


 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-26 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Attachment: OAK-3288.diff

Proposed patch (doc change still missing)

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke
Assignee: Julian Reschke
  Labels: resilience
 Fix For: 1.3.6

 Attachments: OAK-3288.diff


 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-26 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Attachment: (was: OAK-3288.diff)

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke
Assignee: Julian Reschke
  Labels: resilience
 Fix For: 1.3.6


 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-26 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Attachment: OAK-3288.diff

Proposed change with API unchanged, but javadoc pointing out restrictions.

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke
Assignee: Julian Reschke
  Labels: resilience
 Fix For: 1.3.6

 Attachments: OAK-3288.diff


 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-25 Thread Marcel Reutegger (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger updated OAK-3288:
--
   Labels: resilience  (was: )
Fix Version/s: 1.3.6

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke
  Labels: resilience
 Fix For: 1.3.6


 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-25 Thread Julian Reschke (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3288:

Summary: clarify DocumentStore contract with respect to number formats  
(was: clarify DocumentStore contract wrt to numbers)

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke

 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-3288) clarify DocumentStore contract with respect to number formats

2015-08-25 Thread Stefan Egli (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Egli updated OAK-3288:
-
Assignee: (was: Stefan Egli)

 clarify DocumentStore contract with respect to number formats
 -

 Key: OAK-3288
 URL: https://issues.apache.org/jira/browse/OAK-3288
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: core, mongomk, rdbmk
Affects Versions: 1.2.3, 1.3.4, 1.0.19
Reporter: Julian Reschke

 The DS API allows setting properties as java.lang.Integer, but 
 implementations vary in whether they can roundtrip Integers; some do, some 
 convert to Long.
 The former is observed for MongoMK (which uses BSON internally), the latter 
 is see in RDBMK (which uses JSON).
 We should
 - clarify that integers can be set, but they will come back as longs, and
 - modify existing implementations to always return longs, so bugs surface 
 early



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)