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
+348
View File
@@ -33,6 +33,28 @@
"method": "__register__",
"line": 529,
"operations": [
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 532,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "after_super"
},
{
"object": "transaction.connection",
"operation": "cursor",
"tables": [],
"line": 533,
"args": [],
"kwargs": {},
"code": "transaction.connection.(transaction.connection.cursor())()",
"unresolved": true,
"phase": "after_super"
},
{
"object": "table",
"operation": "drop_constraint",
@@ -87,6 +109,28 @@
"method": "__register__",
"line": 729,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 730,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 730,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table",
"operation": "drop_column",
@@ -218,6 +262,28 @@
"method": "__register__",
"line": 60,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 61,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 61,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -284,6 +350,36 @@
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "",
"operation": "Concat",
"tables": [],
"line": 77,
"args": [
"Concat(attachment.digest, '-')",
"attachment.collision"
],
"kwargs": {},
"code": "Concat(Concat(attachment.digest, '-'),\n attachment.collision)",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "",
"operation": "Concat",
"tables": [],
"line": 77,
"args": [
"attachment.digest",
"'-'"
],
"kwargs": {},
"code": "Concat(attachment.digest, '-')",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "table",
"operation": "drop_column",
@@ -375,6 +471,28 @@
"method": "__register__",
"line": 1135,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 1136,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 1136,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -431,6 +549,67 @@
"method": "__register__",
"line": 103,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 104,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 106,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 109,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 109,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_rename",
"tables": [],
"line": 114,
"args": [
"old_table",
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_rename(old_table, cls._table)",
"unresolved": true,
"phase": "before_super",
"condition": "TableHandler.table_exist(old_table)"
},
{
"object": "cursor",
"operation": "execute",
@@ -523,6 +702,56 @@
},
"code": "model_data_sql_table.update(\n [model_data_sql_table.module], ['ir'],\n where=((model_data_sql_table.module == 'res')\n & (model_data_sql_table.fs_id.in_(button_fs_ids))))",
"phase": "after_super"
},
{
"object": "model_data_sql_table.fs_id",
"operation": "in_",
"tables": [],
"line": 138,
"args": [
"button_fs_ids"
],
"kwargs": {},
"code": "model_data_sql_table.fs_id.in_(button_fs_ids)",
"unresolved": true,
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "module.py",
"class": "ModuleDependency",
"method": "__register__",
"line": 363,
"operations": [
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 364,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_rename",
"tables": [],
"line": 369,
"args": [
"old_table",
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_rename(old_table, cls._table)",
"unresolved": true,
"phase": "before_super",
"condition": "TableHandler.table_exist(old_table)"
}
]
},
@@ -533,6 +762,67 @@
"method": "__register__",
"line": 396,
"operations": [
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 397,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 398,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 398,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 399,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_rename",
"tables": [],
"line": 406,
"args": [
"old_table",
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_rename(old_table, cls._table)",
"unresolved": true,
"phase": "before_super",
"condition": "TableHandler.table_exist(old_table)"
},
{
"object": "cursor",
"operation": "execute",
@@ -636,6 +926,28 @@
"method": "__register__",
"line": 85,
"operations": [
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 86,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "transaction.connection",
"operation": "cursor",
"tables": [],
"line": 87,
"args": [],
"kwargs": {},
"code": "transaction.connection.(transaction.connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table",
"operation": "drop_constraint",
@@ -721,6 +1033,28 @@
"method": "__register__",
"line": 76,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 77,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 77,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -754,6 +1088,20 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "datetime",
"operation": "timedelta",
"tables": [],
"line": 90,
"args": [],
"kwargs": {
"hours": "delay"
},
"code": "datetime.timedelta(hours=(datetime.timedelta(hours=delay)))",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",