1 |
|
2010-10-04 Torsten Irländer <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |
4 |
|
"tag" for rule-leafs |
5 |
|
* formed/formed/config.py: Added export rules as XML to Menu |
6 |
|
|
7 |
|
2010-09-30 Torsten Irländer <[email protected]> |
8 |
|
|
9 |
|
* formed/formed/plugins/export/rules_sh.py |
10 |
|
(ExportRulesAsSH.doExport): Filter out duplicted rules. |
11 |
|
|
12 |
|
2010-09-20 Frank Koormann <[email protected]> |
13 |
|
|
14 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
15 |
|
Add "required"-field information to output and include |
16 |
|
choice list contents. |
17 |
|
|
18 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
Avoid database deadlocks that can happen when database clients try |
21 |
|
to work with the same case using two separate database |
22 |
|
connections. See mpuls/issue1145 for details. |
23 |
|
|
24 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
25 |
|
computation of the new json structure description into the new |
26 |
|
database function compute_case_structure |
27 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
28 |
|
the cached json structure description instead of just setting the |
29 |
|
modified flag. This avoids the lazy recomputation that makes what |
30 |
|
seems like a read-only access (calling get_case_structure) into a |
31 |
|
writing access (updates of the cache). The writes lock the row in |
32 |
|
the case_structure table which prevent other connections from |
33 |
|
accessing the same case. As part of this, the delete triggers are |
34 |
|
now AFTER triggers because the repeat groups instance must have |
35 |
|
been removed when the structure is recomputed. |
36 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
37 |
|
trigger, we need to change the way the master id is computed. We |
38 |
|
cannot join with the repeatgroup table in question because the row |
39 |
|
has already been deleted. However, we can use the master_id |
40 |
|
column of the OLD row to select the row of the parent table. |
41 |
|
(create_triggers): Avoid the inner joins with the current repeat |
42 |
|
group for the above mentioned reasons. In the very common case of |
43 |
|
repeat groups which are direct children of the master_tbl, we can |
44 |
|
compare the master_tbl.id directly with the row's master_id. |
45 |
|
|
46 |
|
2010-09-14 Roland Geider <[email protected]> |
47 |
|
|
48 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
49 |
|
formedtree structure |
50 |
|
|
51 |
2010-09-01 Roland Geider <[email protected]> |
2010-09-01 Roland Geider <[email protected]> |
52 |
|
|
53 |
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |