|
Gordon Sim created QPID-3969:
-------------------------------- Summary: arguments for QMFv2 methods may have undefined values if not specified Key: QPID-3969 URL: https://issues.apache.org/jira/browse/QPID-3969 Project: Qpid Issue Type: Bug Components: Qpid Managment Framework Affects Versions: 0.16 Reporter: Gordon Sim Assignee: Gordon Sim Fix For: 0.17 E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
[ https://issues.apache.org/jira/browse/QPID-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259940#comment-13259940 ] [hidden email] commented on QPID-3969: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4845/ ----------------------------------------------------------- Review request for Ted Ross. Summary ------- Arguments for QMFv2 methods may have undefined values if not specified. E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. This addresses bug QPID-3969. https://issues.apache.org/jira/browse/QPID-3969 Diffs ----- /trunk/qpid/cpp/managementgen/qmfgen/schema.py 1329397 Diff: https://reviews.apache.org/r/4845/diff Testing ------- make check passes Thanks, Gordon > arguments for QMFv2 methods may have undefined values if not specified > ---------------------------------------------------------------------- > > Key: QPID-3969 > URL: https://issues.apache.org/jira/browse/QPID-3969 > Project: Qpid > Issue Type: Bug > Components: Qpid Managment Framework > Affects Versions: 0.16 > Reporter: Gordon Sim > Assignee: Gordon Sim > Fix For: 0.17 > > > E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
In reply to this post by JIRA jira@apache.org
[ https://issues.apache.org/jira/browse/QPID-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260608#comment-13260608 ] [hidden email] commented on QPID-3969: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4845/#review7175 ----------------------------------------------------------- I'd like to propose a more general solution to this problem (I'll create a separate review as I don't see a way to attach a patch to this review). The schema syntax allows for the specification of a default value for input arguments and the type-definition file already has an "init" field for the default value of a type. I propose that the "unmap" generated code use the argument default, if present, otherwise the default initializer for the data type. - Ted On 2012-04-23 20:50:04, Gordon Sim wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/4845/ bq. ----------------------------------------------------------- bq. bq. (Updated 2012-04-23 20:50:04) bq. bq. bq. Review request for Ted Ross. bq. bq. bq. Summary bq. ------- bq. bq. Arguments for QMFv2 methods may have undefined values if not specified. E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. bq. bq. bq. This addresses bug QPID-3969. bq. https://issues.apache.org/jira/browse/QPID-3969 bq. bq. bq. Diffs bq. ----- bq. bq. /trunk/qpid/cpp/managementgen/qmfgen/schema.py 1329397 bq. bq. Diff: https://reviews.apache.org/r/4845/diff bq. bq. bq. Testing bq. ------- bq. bq. make check passes bq. bq. bq. Thanks, bq. bq. Gordon bq. bq. > arguments for QMFv2 methods may have undefined values if not specified > ---------------------------------------------------------------------- > > Key: QPID-3969 > URL: https://issues.apache.org/jira/browse/QPID-3969 > Project: Qpid > Issue Type: Bug > Components: Qpid Managment Framework > Affects Versions: 0.16 > Reporter: Gordon Sim > Assignee: Gordon Sim > Fix For: 0.17 > > > E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
In reply to this post by JIRA jira@apache.org
[ https://issues.apache.org/jira/browse/QPID-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260611#comment-13260611 ] [hidden email] commented on QPID-3969: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4855/ ----------------------------------------------------------- Review request for Gordon Sim. Summary ------- This is a more general solution than the original patch. This addresses bug QPID-3969. https://issues.apache.org/jira/browse/QPID-3969 Diffs ----- trunk/qpid/cpp/managementgen/qmfgen/management-types.xml 1329233 trunk/qpid/cpp/managementgen/qmfgen/schema.py 1329233 trunk/qpid/specs/management-schema.xml 1329233 Diff: https://reviews.apache.org/r/4855/diff Testing ------- running make check currently Thanks, Ted > arguments for QMFv2 methods may have undefined values if not specified > ---------------------------------------------------------------------- > > Key: QPID-3969 > URL: https://issues.apache.org/jira/browse/QPID-3969 > Project: Qpid > Issue Type: Bug > Components: Qpid Managment Framework > Affects Versions: 0.16 > Reporter: Gordon Sim > Assignee: Gordon Sim > Fix For: 0.17 > > > E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
In reply to this post by JIRA jira@apache.org
[ https://issues.apache.org/jira/browse/QPID-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260673#comment-13260673 ] [hidden email] commented on QPID-3969: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4855/#review7177 ----------------------------------------------------------- Ship it! That seems better! - Gordon On 2012-04-24 14:28:17, Ted Ross wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/4855/ bq. ----------------------------------------------------------- bq. bq. (Updated 2012-04-24 14:28:17) bq. bq. bq. Review request for Gordon Sim. bq. bq. bq. Summary bq. ------- bq. bq. This is a more general solution than the original patch. bq. bq. bq. This addresses bug QPID-3969. bq. https://issues.apache.org/jira/browse/QPID-3969 bq. bq. bq. Diffs bq. ----- bq. bq. trunk/qpid/cpp/managementgen/qmfgen/management-types.xml 1329233 bq. trunk/qpid/cpp/managementgen/qmfgen/schema.py 1329233 bq. trunk/qpid/specs/management-schema.xml 1329233 bq. bq. Diff: https://reviews.apache.org/r/4855/diff bq. bq. bq. Testing bq. ------- bq. bq. running make check currently bq. bq. bq. Thanks, bq. bq. Ted bq. bq. > arguments for QMFv2 methods may have undefined values if not specified > ---------------------------------------------------------------------- > > Key: QPID-3969 > URL: https://issues.apache.org/jira/browse/QPID-3969 > Project: Qpid > Issue Type: Bug > Components: Qpid Managment Framework > Affects Versions: 0.16 > Reporter: Gordon Sim > Assignee: Gordon Sim > Fix For: 0.17 > > > E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
In reply to this post by JIRA jira@apache.org
[ https://issues.apache.org/jira/browse/QPID-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Ross resolved QPID-3969. ---------------------------- Resolution: Fixed > arguments for QMFv2 methods may have undefined values if not specified > ---------------------------------------------------------------------- > > Key: QPID-3969 > URL: https://issues.apache.org/jira/browse/QPID-3969 > Project: Qpid > Issue Type: Bug > Components: Qpid Managment Framework > Affects Versions: 0.16 > Reporter: Gordon Sim > Assignee: Gordon Sim > Fix For: 0.17 > > > E.g. if you invoke reroute on a queue (in the c++ broker) and do not specify a value for use-alt-exchange, the actual value for that variable is undefined. The same is true for all bool and int arguments. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
| Powered by Nabble | Edit this page |
