Skip to content

Date defaults, Windows Project Start Failure bug fix and Sample App Behave test

Compare
Choose a tag to compare
@valhuber valhuber released this 28 Feb 03:26
· 375 commits to main since this release

This release is available via pip and Docker. It is a re-release of 10.03.04 with additional bug fixes, noted below.

Features

Join Support for the RowDictMapper

This provides simplified support for accessing join fields.

Important: Breaking Change

This change affects existing projects if you want to use it:

  1. Install the revised RowDictMapper: rebuild the sample project, and copy the integration/system/RowDictMapper to your project
  2. Update your RowDictMapper classes as shown below -- the import statement, and the additional parameter on the __init__ function.
from logic_bank.exec_row_logic.logic_row import LogicRow

class OrderShipping(RowDictMapper):
    
    def __init__(self, logic_row: LogicRow = None):

LogicBank defaults for Date, DateTime

This version contains a new version of LogicBank that provides defaults for CURRENT_TIMESTAMP.

 
 


Bug Fixes

This release addresses many issues. The first issue is critical, the others less so.

  1. Windows projects fails to start with Config issue: a config issue in the Windows projects' config directory

  2. Behave Tests on Sample Apps show Optimistic Locking Failures: the Behave tests were improperly coded under the impression that checksum values are platform independent. This is an error in the test coding, not the Optimistic Locking functionality.

  3. ApiLogicServer rebuild-from-database fails if no yaml exists: this is now fixed. If you have not altered your yaml, just delete it for a complete rebuild. (Formerly, you had to rename the merge file.)

  4. Sample App may fail good_order behave test: new in 10.03.06, this fixes a bug generating the sample app, which was missing some sqlite-specific fixes for cascade delete. This manifested in Behave Test Failures for "Good Order".

  5. Improper Parent reference detection: new in 10.03.07, this release includes a fix to a LogicBank bug that likely affects only the Sample app.

 

Internal Issues

The following affect API Logic Server internal development, that is, building and testing API Logic Server.

  1. Build and Test platforms: many internal changes so that the Build and Test procedure runs on all 3 platforms. More info TBD.