You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "James Song (JIRA)" <be...@incubator.apache.org> on 2005/02/02 18:46:17 UTC
[jira] Created: (BEEHIVE-230) Controls versioning: VersionRequired not enforced on control extension and declaration
Controls versioning: VersionRequired not enforced on control extension and declaration
--------------------------------------------------------------------------------------
Key: BEEHIVE-230
URL: http://issues.apache.org/jira/browse/BEEHIVE-230
Project: Beehive
Type: Bug
Components: Controls
Versions: V1Beta
Reporter: James Song
Assigned to: Kenneth Tam
Fix For: V1Beta
@VersionRequired is not enforced on control extension and control declaration.
Test files:
r149537
controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java
controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (BEEHIVE-230) Controls versioning: VersionRequired not enforced on control extension and declaration
Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-230?page=comments#action_12313930 ]
James Song commented on BEEHIVE-230:
------------------------------------
According to http://incubator.apache.org/beehive/controls/controlsProgramming.html#Defining+an+Extended+Interface+for+a+Control+Type
extended control interface is like the following:
@ControlInterface
@Destination(type=JmsMessageControl.QUEUE, name="queue.orders")
public interface OrderQueue extends JmsMessageControl
{
...
}
But "(@VersionRequired is only supported on @ControlExtension)."
> Controls versioning: VersionRequired not enforced on control extension and declaration
> --------------------------------------------------------------------------------------
>
> Key: BEEHIVE-230
> URL: http://issues.apache.org/jira/browse/BEEHIVE-230
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Beta
> Reporter: James Song
> Assignee: James Song
> Fix For: V1Beta
>
> @VersionRequired is not enforced on control extension and control declaration.
> Test files:
> r149537
> controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java
> controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (BEEHIVE-230) Controls versioning: VersionRequired not enforced on control extension and declaration
Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-230?page=all ]
James Song closed BEEHIVE-230:
------------------------------
OK, tested @Version required on control extension by changing the values on trunk\controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java.
@ControlExtension
@VersionRequired( major=2, minor=1 )
Changing the value of major/minor to those greater than (major=2, minor=2) causes a compile error.
I'll open another issue to address @VersionRequired not supported in @ControlInterface.
> Controls versioning: VersionRequired not enforced on control extension and declaration
> --------------------------------------------------------------------------------------
>
> Key: BEEHIVE-230
> URL: http://issues.apache.org/jira/browse/BEEHIVE-230
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Beta
> Reporter: James Song
> Assignee: James Song
> Fix For: V1Beta
>
> @VersionRequired is not enforced on control extension and control declaration.
> Test files:
> r149537
> controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java
> controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (BEEHIVE-230) Controls versioning: VersionRequired not enforced on control extension and declaration
Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-230?page=comments#action_12313932 ]
James Song commented on BEEHIVE-230:
------------------------------------
Tested on controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java, @VersionRequired works fine on control declaration. When changing values of "major" or "minor" to that greater than (major=2, minor=1), compile error is observed.
@Control
@VersionRequired(major=2, minor=1)
public HelloBean helloBean;
> Controls versioning: VersionRequired not enforced on control extension and declaration
> --------------------------------------------------------------------------------------
>
> Key: BEEHIVE-230
> URL: http://issues.apache.org/jira/browse/BEEHIVE-230
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Beta
> Reporter: James Song
> Assignee: James Song
> Fix For: V1Beta
>
> @VersionRequired is not enforced on control extension and control declaration.
> Test files:
> r149537
> controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java
> controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (BEEHIVE-230) Controls versioning: VersionRequired not enforced on control extension and declaration
Posted by "Kenneth Tam (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-230?page=history ]
Kenneth Tam resolved BEEHIVE-230:
---------------------------------
Assign To: James Song (was: Kenneth Tam)
Resolution: Fixed
Fixed as of svn #155837 by adding more compile time diagnostics. Please review the javadoc for @VersionRequired, as the original test wasn't a conformant usage (@VersionRequired is only supported on @ControlExtension).
> Controls versioning: VersionRequired not enforced on control extension and declaration
> --------------------------------------------------------------------------------------
>
> Key: BEEHIVE-230
> URL: http://issues.apache.org/jira/browse/BEEHIVE-230
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Beta
> Reporter: James Song
> Assignee: James Song
> Fix For: V1Beta
>
> @VersionRequired is not enforced on control extension and control declaration.
> Test files:
> r149537
> controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java
> controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (BEEHIVE-230) Controls versioning: VersionRequired not enforced on control extension and declaration
Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-230?page=comments#action_12313929 ]
James Song commented on BEEHIVE-230:
------------------------------------
Might conflict with http://issues.apache.org/jira/browse/BEEHIVE-197
There are extended controls with @ControlInterface i/o @ControlExtension
> Controls versioning: VersionRequired not enforced on control extension and declaration
> --------------------------------------------------------------------------------------
>
> Key: BEEHIVE-230
> URL: http://issues.apache.org/jira/browse/BEEHIVE-230
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Beta
> Reporter: James Song
> Assignee: James Song
> Fix For: V1Beta
>
> @VersionRequired is not enforced on control extension and control declaration.
> Test files:
> r149537
> controls\test\src\controls\org\apache\beehive\controls\test\controls\versioning\SubHello.java
> controls\test\src\units\org\apache\beehive\controls\test\java\versioning\VersinRequiredTest.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira