You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Vlad Rozov (JIRA)" <ji...@apache.org> on 2017/02/12 22:15:42 UTC
[jira] [Updated] (APEXCORE-600) Dynamic change of operator property
not adhering to constraint annotations
[ https://issues.apache.org/jira/browse/APEXCORE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlad Rozov updated APEXCORE-600:
--------------------------------
Priority: Minor (was: Major)
> Dynamic change of operator property not adhering to constraint annotations
> --------------------------------------------------------------------------
>
> Key: APEXCORE-600
> URL: https://issues.apache.org/jira/browse/APEXCORE-600
> Project: Apache Apex Core
> Issue Type: Bug
> Affects Versions: 3.5.0
> Reporter: Francis Fernandes
> Assignee: Francis Fernandes
> Priority: Minor
>
> Create an operator with a field having some constraint
> {code}
> @ Min(0)
> protected int nonNegativeVal = 10;
> {code}
> When launching the application the constraint is adhered and an exception is thrown which prevents the application from launching:
> {code}
> <property>
> <name>dt.operator.test.prop.nonNegativeVal</name>
> <value>-10</value>
> </property>
> {code}
> The application is launched with a valid value and enters into running state. The constraint is not adhered to on updating the property with an invalid (negative) value.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)