[jira] Resolved: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types
[ https://issues.apache.org/jira/browse/SLING-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-797. Resolution: Fixed > EventUtil.getNodePropertyValue wrong check for basic types > -- > > Key: SLING-797 > URL: https://issues.apache.org/jira/browse/SLING-797 > Project: Sling > Issue Type: Bug > Components: Event, JCR Resource >Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2 >Reporter: Tobias Bocanegra >Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4 > > Attachments: EventUtil-r712058.patch > > > The type checks in getNodePropertyValue() are the wrong way around and never > find the respective JCR property type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types
[ https://issues.apache.org/jira/browse/SLING-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660039#action_12660039 ] Carsten Ziegeler commented on SLING-797: Hi Tobi, while the checks where actually really wrong this only had an influence on calendar objects. Thanks for your patch - I applied it in revision 730337 - please cross check and close this bug. Thanks > EventUtil.getNodePropertyValue wrong check for basic types > -- > > Key: SLING-797 > URL: https://issues.apache.org/jira/browse/SLING-797 > Project: Sling > Issue Type: Bug > Components: Event, JCR Resource >Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2 >Reporter: Tobias Bocanegra >Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4 > > Attachments: EventUtil-r712058.patch > > > The type checks in getNodePropertyValue() are the wrong way around and never > find the respective JCR property type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types
[ https://issues.apache.org/jira/browse/SLING-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-797: --- Component/s: JCR Resource Affects Version/s: JCR Resource 2.0.2 Fix Version/s: Extensions Event 2.0.4 JCR Resource 2.0.4 Assignee: Carsten Ziegeler Adding jcr resource as the JcrResourceUtil has the same code in the createValue() method. > EventUtil.getNodePropertyValue wrong check for basic types > -- > > Key: SLING-797 > URL: https://issues.apache.org/jira/browse/SLING-797 > Project: Sling > Issue Type: Bug > Components: Event, JCR Resource >Affects Versions: JCR Resource 2.0.2, Extensions Event 2.0.2 >Reporter: Tobias Bocanegra >Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4, Extensions Event 2.0.4 > > Attachments: EventUtil-r712058.patch > > > The type checks in getNodePropertyValue() are the wrong way around and never > find the respective JCR property type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types
EventUtil.getNodePropertyValue wrong check for basic types -- Key: SLING-797 URL: https://issues.apache.org/jira/browse/SLING-797 Project: Sling Issue Type: Bug Components: Event Affects Versions: Extensions Event 2.0.2 Reporter: Tobias Bocanegra Attachments: EventUtil-r712058.patch The type checks in getNodePropertyValue() are the wrong way around and never find the respective JCR property type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-797) EventUtil.getNodePropertyValue wrong check for basic types
[ https://issues.apache.org/jira/browse/SLING-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated SLING-797: --- Attachment: EventUtil-r712058.patch patch that fixes this issue. > EventUtil.getNodePropertyValue wrong check for basic types > -- > > Key: SLING-797 > URL: https://issues.apache.org/jira/browse/SLING-797 > Project: Sling > Issue Type: Bug > Components: Event >Affects Versions: Extensions Event 2.0.2 >Reporter: Tobias Bocanegra > Attachments: EventUtil-r712058.patch > > > The type checks in getNodePropertyValue() are the wrong way around and never > find the respective JCR property type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Programmatically Triggering Replication
hi josh, this is not quite the correct place to ask this question :-) however, take a look at the browser/content.jsp in crx how to do it. regards, toby On 12/30/08, Joshua Oransky wrote: > How exactly can I programmatically trigger replication on a node on > CRX? > > I see the com.day.crx.replication.Replicator class, > but I don't know what to use as the configuration in its constructor. I > figure it's a mix of the getSyndicators() and the replicate() methods, but I > need to get access to the service first. > > Any help is appreciated! > > -Josh >
Programmatically Triggering Replication
How exactly can I programmatically trigger replication on a node on CRX? I see the com.day.crx.replication.Replicator class, but I don't know what to use as the configuration in its constructor. I figure it's a mix of the getSyndicators() and the replicate() methods, but I need to get access to the service first. Any help is appreciated! -Josh