Project Task Page: Making Axon Detect One-to-many linkage creation

Status: Completed
Current Developers: MH, MPS
Current "inflight" dev location: /branches/private_MH_20070509_axonwarnings
Start Date: 09 May 2007
End Date: 5 Aug 2007
Date this page last updated: 5 Aug 2007
Estimated effort so far: 0.5 days

Description

Axon cannot handle one-to-many linkages - where a postbox is wired to more than one destination. However, when creating linkages, Axon currently makes no attempt to detect this and flag the error.

Getting Axon to alert the developer/user that this has happened will aid debugging and development.

Inputs

This section is largely about WHO has influenced this task to do WHAT, and where possible WHY. It is also about WHO to contact with regard to this task to influence what's going on.
  • Task Sponsor: MH
  • Task Owner: MH, MPS
  • Developers involved: MH (development), MPS (merge)
  • Users: MH, MPS
  • Interested third parties: MH, MS, Patrick (SoC 2007)
  • Requirements
    • MUST flag to the developer or user when the problem occurs
    • SHOULD not cause any regressions
    • MUST have some test suite coverage

Outputs

Expected

  • Modifications to Axon (initially in branch then merged into mainline code)
  • ...including modifications and additions to the Axon test suite

Actual

  • Code:
    • SVN branch: private_MH_20070509_axonwarnings
    • Mainline code: /Code/Python/Axon/Axon/
      • Modified: Box.py, PostOffice.py, AxonExceptions.py
    • Mainline code: /Tests/Python/Axon/
      • Modified: test_Postoffice.py

Realistic possibilities arising as a result of activity on this task

none

Related Tasks

Tasks that directly enable this task (dependencies)

  • none

Sub Tasks

  • Development
  • Testing
  • Test suite additions

Task Log

  • 09 May 2007 : Added developer Matt
  • 09 May 2007 : Task status changed to running.
  • 09 May 2007 : Matt : working on private_MH_20070509_axonwarnings branch
  • 10 May 2007 : Matt : bulk of development and tests complete. Days spent: 0.75
  • 10 May 2007 : Matt : branch ready for merge
  • 1 AUG 2007 : MPS : merged (sorry for the delay)

Discussion

To my mind this could be deemed a bugfix. It is certainly not really a tangible API or feature-set change.

I've added an appropriately named exception that is thrown if the problem occurs.

-- Matt Hammond, 09 May 2007


 

Kamaelia is an open source project originated from and guided by BBC Research. For more information browse the site or get in contact.

This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)

(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved

This web site is powered by the same code created for the bicker manor project. For more details, contact Michael Sparks at BBC Research directly (cf contact)