Fix: Product Category save + filter debugging.

This commit is contained in:
2024-11-18 14:02:23 +00:00
parent 3f47af3b02
commit fd4dae0f8f
36 changed files with 47125 additions and 331 deletions

View File

@@ -19,7 +19,7 @@ executing p_get_many_user
DataStore_Base.db_procedure_execute
proc_string: CALL p_get_many_user(:a_id_user, :a_id_user_auth0, :get_all_user, :get_inactive_user, :ids_user, :ids_user_auth0, :a_debug)
args: {'a_id_user': 1, 'a_id_user_auth0': 'auth0|6582b95c895d09a70ba10fef', 'get_all_user': False, 'get_inactive_user': False, 'ids_user': 1, 'ids_user_auth0': '', 'a_debug': 0}
result: <sqlalchemy.engine.cursor.CursorResult object at 0x00000146F6E4DFD0>
result: <sqlalchemy.engine.cursor.CursorResult object at 0x0000020ABF85E0B0>
data received
raw users: ((1, 'auth0|6582b95c895d09a70ba10fef', 'Teddy', 'Middleton-Smith', 'edward.middletonsmith@gmail.com', b'\x00', None, None, b'\x01', b'\x01', b'\x01', b'\x01', b'\x00'),)
raw errors: ()
@@ -43,7 +43,7 @@ executing p_shop_get_many_access_level
DataStore_Base.db_procedure_execute
proc_string: CALL p_shop_get_many_access_level(:active)
args: {'active': 1}
result: <sqlalchemy.engine.cursor.CursorResult object at 0x00000146F6E4DFD0>
result: <sqlalchemy.engine.cursor.CursorResult object at 0x0000020ABF85E0B0>
data received
raw access levels: ((1, 'VIEW', 'View', 3, 1, b'\x01'), (2, 'EDIT', 'Edit', 2, 2, b'\x01'), (3, 'ADMIN', 'Admin', 1, 3, b'\x01'))
raw errors: ()
@@ -85,7 +85,7 @@ executing p_get_many_user
DataStore_Base.db_procedure_execute
proc_string: CALL p_get_many_user(:a_id_user, :a_id_user_auth0, :get_all_user, :get_inactive_user, :ids_user, :ids_user_auth0, :a_debug)
args: {'a_id_user': 1, 'a_id_user_auth0': 'auth0|6582b95c895d09a70ba10fef', 'get_all_user': False, 'get_inactive_user': False, 'ids_user': 1, 'ids_user_auth0': '', 'a_debug': 0}
result: <sqlalchemy.engine.cursor.CursorResult object at 0x00000146F6E4DF60>
result: <sqlalchemy.engine.cursor.CursorResult object at 0x0000020ABF85E040>
data received
raw users: ((1, 'auth0|6582b95c895d09a70ba10fef', 'Teddy', 'Middleton-Smith', 'edward.middletonsmith@gmail.com', b'\x00', None, None, b'\x01', b'\x01', b'\x01', b'\x01', b'\x00'),)
raw errors: ()
@@ -95,10 +95,10 @@ executing p_shop_get_many_product
DataStore_Base.db_procedure_execute
proc_string: CALL p_shop_get_many_product(:a_id_user, :a_get_all_product_category, :a_get_inactive_product_category, :a_ids_product_category, :a_get_all_product, :a_get_inactive_product, :a_ids_product, :a_get_all_permutation, :a_get_inactive_permutation, :a_ids_permutation, :a_get_all_image, :a_get_inactive_image, :a_ids_image, :a_get_products_quantity_stock_below_min, :a_debug)
args: {'a_id_user': 1, 'a_get_all_product_category': True, 'a_get_inactive_product_category': True, 'a_ids_product_category': '', 'a_get_all_product': True, 'a_get_inactive_product': False, 'a_ids_product': '', 'a_get_all_permutation': True, 'a_get_inactive_permutation': False, 'a_ids_permutation': '', 'a_get_all_image': False, 'a_get_inactive_image': False, 'a_ids_image': '', 'a_get_products_quantity_stock_below_min': False, 'a_debug': 0}
result: <sqlalchemy.engine.cursor.CursorResult object at 0x00000146F6E4DF60>
result: <sqlalchemy.engine.cursor.CursorResult object at 0x0000020ABF85E040>
data received
initial category_list: categories: []
raw categories: ((1, 'ASS', 'Assistive Devices', 'Braille product line and other assistive devices', 1, 'View', 1, b'\x01', None, None, None), (3, 'TECH', 'Technology', 'Technological devices', 1, 'View', 2, b'\x01', None, None, None), (2, 'MISC', 'Miscellaneous', 'Not category allocated products', 1, 'View', 99, b'\x01', None, None, None))
raw categories: ((1, 'ASS', 'Assistive Devices', 'Braille product line and other assistive devices', 1, 'View', 1, b'\x00', None, None, None), (3, 'TECH', 'Technology', 'Technological devices', 1, 'View', 2, b'\x00', None, None, None), (2, 'MISC', 'Miscellaneous', 'Not category allocated products', 1, 'View', 99, b'\x00', None, None, None))
new_category:
id: 1
code: ASS
@@ -106,7 +106,7 @@ new_category:
description: Braille product line and other assistive devices
access_level: View
display_order: 1
active: True
active: False
products: []
new_category:
@@ -116,7 +116,7 @@ new_category:
description: Technological devices
access_level: View
display_order: 2
active: True
active: False
products: []
new_category:
@@ -126,7 +126,7 @@ new_category:
description: Not category allocated products
access_level: View
display_order: 99
active: True
active: False
products: []
category-loaded category_list: categories: [
@@ -136,7 +136,7 @@ category-loaded category_list: categories: [
description: Braille product line and other assistive devices
access_level: View
display_order: 1
active: True
active: False
products: []
,
id: 3
@@ -145,7 +145,7 @@ category-loaded category_list: categories: [
description: Technological devices
access_level: View
display_order: 2
active: True
active: False
products: []
,
id: 2
@@ -154,7 +154,7 @@ category-loaded category_list: categories: [
description: Not category allocated products
access_level: View
display_order: 99
active: True
active: False
products: []
]
raw products: ()
@@ -167,7 +167,7 @@ get many category_list: categories: [
description: Braille product line and other assistive devices
access_level: View
display_order: 1
active: True
active: False
products: []
,
id: 3
@@ -176,7 +176,7 @@ get many category_list: categories: [
description: Technological devices
access_level: View
display_order: 2
active: True
active: False
products: []
,
id: 2
@@ -185,7 +185,8 @@ get many category_list: categories: [
description: Not category allocated products
access_level: View
display_order: 99
active: True
active: False
products: []
]
Server Error: Could not build url for endpoint 'routes_store_product_category.filter_category'. Did you mean 'routes_store_product_category.save_category' instead?
Model_View_Store.__init__
starting