ICEfaces
  1. ICEfaces
  2. ICE-8615

samples - auctionMonitor failure - item price updated to 0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.BETA1
    • Fix Version/s: 3.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 3.2.0.BETA1 bundle / auctionMonitor app

      Description


      In auctionMonitor, the price of any item can be brought to $0.00 when placing a bid without any amount entered in the bid entry.
      Steps (Firefox14):
      - click on 'Bid' button- this opens bid entry.
      - remove the amount from the bid entry and press 'Enter' key, or click the sign to place the bid.
      The price of the corresponding item becomes $0.00.

        Activity

        Migration created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31394 Wed Oct 10 13:43:33 MDT 2012 matthew.cowell ICE-8615 - Added a check for a bid price of 0.0, which is the result when JSF takes a blank input and converts it to a double. The only other way to avoid this is to put required = true on the input box. However, JSF will validate that first and then (without a big rewrite of code) we cannot put a custom error in. I bid of 0 should never happen anyway, so this fix seems ok.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/compat/auctionMonitor/src/main/java/com/icesoft/applications/faces/auctionMonitor/beans/AuctionMonitorItemBean.java
        Hide
        Matthew Cowell added a comment - - edited

        Assignee: Carmen Cristurean (was: Matthew Cowell)
        Fix Version/s: 3.2
        Resolution: Fixed
        An input of nothing now results in an error generated and no bid is submitted.
        (Restricted to icesoft-internal-developers group)

        Show
        Matthew Cowell added a comment - - edited Assignee: Carmen Cristurean (was: Matthew Cowell) Fix Version/s: 3.2 Resolution: Fixed An input of nothing now results in an error generated and no bid is submitted. (Restricted to icesoft-internal-developers group)
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Carmen Cristurean [ ccristurean ]
        Migration made changes -
        Assignee Matthew Cowell [ cowemat ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Icefaces Administrator made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 3.2 [ 10338 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Matthew Cowell
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: