[ https://issues.apache.org/jira/browse/CLOUDSTACK-7453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113645#comment-14113645 ]
ASF subversion and git services commented on CLOUDSTACK-7453: ------------------------------------------------------------- Commit d9531fb0de6e59bfbb0ec2082558e3879b6e1668 in cloudstack's branch refs/heads/master from [~saksham] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d9531fb ] CLOUDSTACK-7453: Network rate field specified with negative value in service offering results in db Exception > Network rate field specified with negative value in service offering results > in db Exception > -------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-7453 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7453 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API > Affects Versions: 4.5.0 > Reporter: Saksham Srivastava > Assignee: Saksham Srivastava > Fix For: 4.5.0 > > > add service offering, add system service offering: > enter negative value for network rate field. > result: status dialog displayed with : > DB exception on ........ followed by various DB record fields. > DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@32ec7dc1: INSERT INTO > network_offerings (network_offerings.name, network_offerings.unique_name, > network_offerings.display_text, network_offerings.nw_rate, > network_offerings.mc_rate, network_offerings.traffic_type, > network_offerings.specify_vlan, network_offerings.system_only, > network_offerings.service_offering_id, network_offerings.tags, > network_offerings.default, network_offerings.availability, > network_offerings.state, network_offerings.created, > network_offerings.guest_type, network_offerings.dedicated_lb_service, > network_offerings.shared_source_nat_service, > network_offerings.specify_ip_ranges, network_offerings.sort_key, > network_offerings.uuid, network_offerings.redundant_router_service, > network_offerings.conserve_mode, network_offerings.elastic_ip_service, > network_offerings.eip_associate_public_ip, > network_offerings.elastic_lb_service, network_offerings.inline, > network_offerings.is_persistent, network_offerings.egress_default_policy, > network_offerings.concurrent_connections, > network_offerings.keep_alive_enabled, network_offerings.supports_streched_l2, > network_offerings.internal_lb, network_offerings.public_lb) VALUES > (_binary'nw1', _binary'nw1', _binary'nw1', -7, 10, 'Guest', 0, 0, null, null, > 0, 'Optional', 'Disabled', '2014-07-17 00:34:41', 'Isolated', 1, 0, 0, 0, > _binary'd1305b80-c31e-459b-8499-068261f34bd7', 0, 0, 0, 0, 0, 0, 0, 1, 4096, > 0, 0, 0, 1)"} -- This message was sent by Atlassian JIRA (v6.2#6252)