FLUID-3201: add error checking to PostClass.php - getFluidVersionNumber

Metadata

Source
FLUID-3201
Type
Sub-task
Priority
Minor
Status
Closed
Resolution
Fixed
Assignee
Laurel Williams
Reporter
Laurel Williams
Created
2009-09-22T15:43:13.000-0400
Updated
2009-10-02T12:41:49.000-0400
Versions
N/A
Fixed Versions
  1. 1.1.2
Component
  1. Infusion Builder

Description

I wrote this pretty quickly and it could benefit from some error checking in case the file or the line within the file are not found.

Comments

  • Justin Obara commented 2009-09-28T13:59:27.000-0400

    Bug Parade Infusion 1.1.2

  • Laurel Williams commented 2009-09-29T16:09:21.000-0400

    Added error checking for file not opening and also for mysql errors. Further work could be done to fix the reg_ex error checking (see FLUID-3213).

  • Laurel Williams commented 2009-09-29T16:10:05.000-0400

    manage regex parsing of build.properties, including error checking.

  • Jacob Farber commented 2009-10-02T10:36:29.000-0400

    Commit rev. 8161 for this bug is difficult to review since the diff file shows the entire file has changed.
    As best as I can tell, the function getFluidVersionNumber looks ok though.