Dedublizierung gefixt

- lange existierender Updatecode wurde in jeder 2. Version angezeigt
- UPDATEANALYSE.md ergänzt.
This commit is contained in:
2026-08-20 13:27:23 +02:00
parent 5d227d2f61
commit b549063ff6
138 changed files with 43143 additions and 1472 deletions
+307
View File
@@ -9,6 +9,88 @@
"method": "__register__",
"line": 67,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 68,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 68,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Concat",
"tables": [],
"line": 77,
"args": [
"Coalesce(sql_table.street, '')",
"Concat('\\n', Coalesce(sql_table.streetbis, ''))"
],
"kwargs": {},
"code": "Concat(\n Coalesce(sql_table.street, ''),\n Concat('\\n', Coalesce(sql_table.streetbis, '')))",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "",
"operation": "Coalesce",
"tables": [],
"line": 78,
"args": [
"sql_table.street",
"''"
],
"kwargs": {},
"code": "Coalesce(sql_table.street, '')",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "",
"operation": "Concat",
"tables": [],
"line": 79,
"args": [
"'\\n'",
"Coalesce(sql_table.streetbis, '')"
],
"kwargs": {},
"code": "Concat('\\n', Coalesce(sql_table.streetbis, ''))",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "",
"operation": "Coalesce",
"tables": [],
"line": 79,
"args": [
"sql_table.streetbis",
"''"
],
"kwargs": {},
"code": "Coalesce(sql_table.streetbis, '')",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "cursor",
"operation": "execute",
@@ -64,6 +146,39 @@
"method": "__register__",
"line": 265,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 266,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 272,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 272,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table",
"operation": "update",
@@ -160,6 +275,22 @@
"phase": "after_super",
"condition": "table_h.column_exist('language')"
},
{
"object": "",
"operation": "Substring",
"tables": [],
"line": 293,
"args": [
"language.code",
"0",
"2"
],
"kwargs": {},
"code": "Substring(language.code, 0, 2)",
"unresolved": true,
"phase": "after_super",
"condition": "table_h.column_exist('language')"
},
{
"object": "cursor",
"operation": "execute",
@@ -231,6 +362,31 @@
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "",
"operation": "migrate_property",
"tables": [],
"line": 52,
"args": [
"'party.configuration'",
"field_names",
"cls",
"value_names"
],
"kwargs": {
"fields": "fields"
},
"code": "migrate_property(\n 'party.configuration', field_names, cls, value_names,\n fields=fields)",
"unresolved": true,
"phase": "after_super",
"condition": "not exist",
"via": [
{
"method": "_migrate_property",
"line": 46
}
]
}
]
},
@@ -265,6 +421,39 @@
"method": "__register__",
"line": 270,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 271,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 273,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 273,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
@@ -339,6 +528,32 @@
"code": "party_h.drop_column('lang')",
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
},
{
"object": "",
"operation": "migrate_property",
"tables": [],
"line": 295,
"args": [
"'party.party'",
"field_names",
"cls",
"value_names"
],
"kwargs": {
"parent": "'party'",
"fields": "fields"
},
"code": "migrate_property(\n 'party.party', field_names, cls, value_names,\n parent='party', fields=fields)",
"unresolved": true,
"phase": "after_super",
"condition": "not exist",
"via": [
{
"method": "_migrate_property",
"line": 289
}
]
}
]
},
@@ -349,6 +564,39 @@
"method": "__register__",
"line": 445,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 446,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 448,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 448,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -383,6 +631,65 @@
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "",
"operation": "get_cc_module",
"tables": [],
"line": 466,
"args": [
"*type.split('_', 1)"
],
"kwargs": {},
"code": "get_cc_module(*type.split('_', 1))",
"unresolved": true,
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "type",
"operation": "split",
"tables": [],
"line": 466,
"args": [
"'_'",
"1"
],
"kwargs": {},
"code": "type.split('_', 1)",
"unresolved": true,
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "",
"operation": "cls",
"tables": [],
"line": 472,
"args": [],
"kwargs": {
"party": "party_id",
"code": "code",
"type": "type"
},
"code": "cls(party=party_id, code=code, type=type)",
"unresolved": true,
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "cls",
"operation": "save",
"tables": [],
"line": 473,
"args": [
"identifiers"
],
"kwargs": {},
"code": "cls.save(identifiers)",
"unresolved": true,
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "party_h",
"operation": "drop_column",