You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Bence (Jira)" <ji...@apache.org> on 2022/10/07 13:19:00 UTC

[jira] [Updated] (ARIES-2085) ARIES-1106 fix for non standard setters support is not working

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

Bence updated ARIES-2085:
-------------------------
    Description: 
ComponentDefinitionException: No setter for a property is thrown for regular setters with return value.

{color:#000000}The initial problem with non-standard setters was the return value and not the naming convention that is {color}{color:#000000}resultType {color}== {color:#000000}Void{color}.{color:#871094}TYPE {color}{color:#172b4d}condition in ReflectionUtils prevents initializing components with fluent setters.{color}

Please check it with org.apache.aries.blueprint.NonStandardSettersTest and the attached org.apache.aries.blueprint.pojos.{color:#000000}NonStandardSetter class version.{color}

  was:
ComponentDefinitionException: No setter for a property is thrown for regular setters with return value. 

{color:#000000}The initial problem with non-standard setters was the return value and not the naming convention that is {color}{color:#000000}resultType {color}== {color:#000000}Void{color}.{color:#871094}TYPE {color}{color:#871094}{color:#000000}condition in ReflectionUtils prevents initializing components with fluent setters.{color}{color}

Please check it with org.apache.aries.blueprint.NonStandardSettersTest and the attached {color:#000000}org.apache.aries.blueprint.pojos.{color}{color:#000000}NonStandardSetter class version.{color}


> ARIES-1106 fix for non standard setters support is not working
> --------------------------------------------------------------
>
>                 Key: ARIES-2085
>                 URL: https://issues.apache.org/jira/browse/ARIES-2085
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.10.3
>            Reporter: Bence
>            Priority: Major
>         Attachments: NonStandardSetter.java
>
>
> ComponentDefinitionException: No setter for a property is thrown for regular setters with return value.
> {color:#000000}The initial problem with non-standard setters was the return value and not the naming convention that is {color}{color:#000000}resultType {color}== {color:#000000}Void{color}.{color:#871094}TYPE {color}{color:#172b4d}condition in ReflectionUtils prevents initializing components with fluent setters.{color}
> Please check it with org.apache.aries.blueprint.NonStandardSettersTest and the attached org.apache.aries.blueprint.pojos.{color:#000000}NonStandardSetter class version.{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)