Ticket #3 (closed defect: fixed)

Opened 2 years ago

Last modified 1 month ago

When working with floating point values such as decimal reactor truncates to integer

Reported by: dhughes Owned by: dhughes
Type: defect Priority: high
Milestone: Component: Reactor - Object Oriented Queries
Version: 1.0 Severity: major
Keywords: Cc:

Description

Here's what needs to be done:

  1. /reactor/core/field.cfc has to be edited to add variables.precision and a get/setter methods
  1. the three Daos in /reactor/data/{dbms}/ need to be updated so that the readFields method correctly populates the new field in field.cfc.
  1. the /reactor/xsl/metadata.project.xsl will need to be updated so that the precision is generated with the rest of the field metadata.
  1. the /reactor/base/abstractGateway.cfc will need to be updated so that the getByQuery method will add the scale attribute is set to the value in the object's metadata.

Change History

Changed 2 years ago by dhughes

  • status changed from new to closed
  • resolution set to fixed

The actual bug was a result of using scale in cfqueryparam and cfprocparam tags. I changed this to maxlength to resolve the problem. I do not plan to add precision or scale support to reactor for 1.0.

More info here: http://trac.reactorframework.com/reactor/trac.cgi/changeset/268

Changed 2 years ago by dhughes

  • priority changed from highest to high
  • status changed from assigned to closed
  • resolution changed from worksforme to fixed
  • severity changed from enhancement to major

Changed 2 years ago by dhughes

  • milestone changed from Release Candidate 2 (RC2) to Beta Candidate 2 (BC2)

Changed 1 month ago by anonymous

  • milestone deleted

Milestone Beta Candidate 2 (BC2) deleted

Note: See TracTickets for help on using tickets.