[ 
https://issues.apache.org/jira/browse/TAP5-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662255#action_12662255
 ] 

Fernando commented on TAP5-443:
-------------------------------

Index: 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstanceResultProcessor.java
===================================================================
--- 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstanceResultProcessor.java
    (revision 732923)
+++ 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstanceResultProcessor.java
    (working copy)
@@ -24,7 +24,7 @@
 
 import java.io.IOException;
 
-...@marker({Traditional.class, ComponentInstanceProcessor.class})
+...@marker({ComponentInstanceProcessor.class})
 public class ComponentInstanceResultProcessor implements 
ComponentEventResultProcessor<Component>
 {
     private final RequestPageCache requestPageCache;
Index: 
tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
===================================================================
--- 
tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java   
    (revision 732923)
+++ 
tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java   
    (working copy)
@@ -1343,7 +1343,7 @@
      * external URL</dd> </dl>
      */
     public void contributeComponentEventResultProcessor(
-            @Traditional @ComponentInstanceProcessor
+            @ComponentInstanceProcessor
             ComponentEventResultProcessor componentInstanceProcessor,
 
             MappedConfiguration<Class, ComponentEventResultProcessor> 
configuration)


> There are two services that implement ComponentEventResultProcessor, and 
> declare the @Traditional marker
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-443
>                 URL: https://issues.apache.org/jira/browse/TAP5-443
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0
>            Reporter: Fernando
>            Priority: Blocker
>
> This causes a bad exception when tapestry tries to resolve an IoC dependency 
> asking for @Traditional ComponentEventResultProcessor...
> I think you just want to remove it from 
> ComponentInstanceResultProcessor.java, and remove it from 
> TapestryModule.java:1346 (where it uses the secondary marker, 
> @ComponentInstanceProcessor ).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to