Bug 111991 - getMileage doesn't
Summary: getMileage doesn't
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: documentation
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-12 15:06 UTC by Steve Etherington
Modified: 2020-03-27 16:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 16:47:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Steve Etherington 2003-12-12 15:06:30 UTC
Description of problem:

p 36 creating a content type.

This would not get the mileage!

public float getMileage() {
    Float cost = (Float) get(ASKING_PRICE);
    if (cost == null) {
        return 0;
    }
    return cost.floatValue();
}

Version-Release number of selected component (if applicable):
rhea-dg-cms-en(EN)-dev-Print-RHI (2003-09-09T16:20-0700)

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

The section on creating a content type is very muddled and 
incomplete. As well as sorting out the obvious repetition and change 
from Car to Birdwatch, I think this section should also provide more 
info on how content types are really created. Eg, *Initializer, 
*Loader, *.pdl.mf, 6 SQL files instead of one, etc. (Perhaps some of 
this is going in chapters 11 and 12 though.)


Note You need to log in before you can comment on or make changes to this bug.