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

Tommaso Teofili updated SLING-3394:
-----------------------------------

    Description: the SimpleReplicationAgent#isPassive method is not working as 
the TransportHandler initialization in ReplicationAgentServiceFactory has 
changed due to the move of TransportHandlers as own configurations and services 
hence that reference can never be null. Also its usage in 
SimpleReplicationAgent#removeHead is inverted and breaks the reverse 
replication scenario.  (was: the _SimpleReplicationAgent#isPassive_ method is 
not working as the _TransportHandler_ initialization in 
_ReplicationAgentServiceFactory_ has changed due to the move of 
_TransportHandlers_ as own configurations and services hence that reference can 
never be null. Also its usage in _SimpleReplicationAgent#removeHead_ is 
inverted and breaks the reverse replication scenario.)

> Fix agent isPassive (reverse replication) checks
> ------------------------------------------------
>
>                 Key: SLING-3394
>                 URL: https://issues.apache.org/jira/browse/SLING-3394
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>
> the SimpleReplicationAgent#isPassive method is not working as the 
> TransportHandler initialization in ReplicationAgentServiceFactory has changed 
> due to the move of TransportHandlers as own configurations and services hence 
> that reference can never be null. Also its usage in 
> SimpleReplicationAgent#removeHead is inverted and breaks the reverse 
> replication scenario.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to