BenoitTalbot / bungeni-portal

Automatically exported from code.google.com/p/bungeni-portal
0 stars 0 forks source link

Event Item Restructuring #738

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Event Item restructuring

1 Problem  Description
----------------------

Event items are currently implemented by modelling it on a "parliamentary 
Item". Events have a workflow presently.
The Event item always has a "child" relationship to a parliamentary item. The 
event also has "event date" as significant metadata.

2 Problem Statement
----------------------

 A) The event always has a child relationship to another parliamentary item, however the current model is derived from Parliamentary item, when it isnt really a "parliamentary item" but more like a "sub parliamentary item" (also, all the fields inherited from parliamentary item are not relevant for an item) . It also poses problems if we want to restructure all parliamentary items to share a common model (i.e it would mean forcing a child->parent relationship concept on every parliamentary item).

 B) THere is also a need for other "documents" which use a model similar to events - response, resolution etc. which also have a child relationship to a parliamentary item.

other notes:
 C) Events always have 1 author
 D) Events are only acessed from the context of parent parliamentary item

3 Required Solution
--------------------
 A) Disconnect event from using the "parliamentary item" model.
 B) Use an alternate, more generalized model for representing Event (and other similar types like response, resolution)
 C) Events must support attachments, versions and changelog.

PROPOSED SOLUTION TO FOLLOW

Original issue reported on code.google.com by ashok.ha...@gmail.com on 13 Oct 2011 at 8:45

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 1 Feb 2012 at 8:38

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 1 Feb 2012 at 8:38

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 1 Feb 2012 at 8:46

GoogleCodeExporter commented 9 years ago
Closing All these issues -- As the list is being updated to match with the 
whiteboard backlog.

Original comment by ashok.ha...@gmail.com on 7 Sep 2012 at 7:57