[
https://jira.jboss.org/jira/browse/DNA-549?page=com.atlassian.jira.plugin...
]
Dan Florian reopened DNA-549:
-----------------------------
The UpdateValuesRequest also has the same problem. According to the documentation for this
class it can be used for a new or an existing property. There is no way to tell using the
existing API. This is needed by the ObservationManager implementation.
Creating A New Property And Changing An Existing Property Should Have
Different ChangeRequest Types
---------------------------------------------------------------------------------------------------
Key: DNA-549
URL:
https://jira.jboss.org/jira/browse/DNA-549
Project: DNA
Issue Type: Bug
Components: JCR
Affects Versions: 0.6
Reporter: Dan Florian
Assignee: Randall Hauch
Priority: Blocker
Fix For: 0.7
There is no way to differentiate between when a new property is created and when an
existing property is set. Both are handled using the SetPropertyRequest. The JCR spec
clearly states the difference between these two cases as each one has their own event
type.
Work to change to the relevant change requests, update connectors, and update the
NetChangeObserver will need to be done.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira