RF-Agregar descripcion de error en caso de que falle la sincronizacion de un producto o cliente #45

Closed
opened 2026-07-30 16:14:49 -05:00 by Aserrador · 1 comment
Owner

Descripción

COMO usuario administrador
QUIERO poder ver una descripción detallada dentor de la ventana de sincronizacion cuando falle la sincronizacion de un producto o cliente por cada registro.
PARA conocer la causa del fallo y poder proceder a dar o buscar una solucion sin necesidad de intervenir en el despliegue o codigo fuente de la aplicacion.

Criterios de aceptación

  1. La ventana de sincronización de productos o clientes fallidos debe tener una nueva columna con el nombre "Detalle" en el que se muestre porque esta fallando la sincronizacion de este registro.

duct"."measuring_unit", "don_confiao_product"."unit_external_id", "don_confiao_product"."external_id" FROM "don_confiao_product" WHERE "don_confiao_product"."external_id" = '507' LIMIT 21; args=('507',); alias=default
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.516 UTC [4153] ERROR: null value in column "price" of relation "don_confiao_product" violates not-null constraint
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.516 UTC [4153] DETAIL: Failing row contains (390, ENVASES Y EMPAQUES, null, Unit, 326, 1, t).
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.516 UTC [4153] STATEMENT: INSERT INTO "don_confiao_product" ("active", "name", "price", "measuring_unit", "unit_external_id", "external_id") VALUES (true, 'ENVASES Y EMPAQUES', NULL, 'Unit', '1', '326') RETURNING "don_confiao_product"."id"
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.518 UTC [4153] ERROR: null value in column "price" of relation "don_confiao_product" violates not-null constraint
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.518 UTC [4153] DETAIL: Failing row contains (391, ADMINISTRACIÓN Y COORDINACIÓN, null, Unit, 328, 1, t).
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.518 UTC [4153] STATEMENT: INSERT INTO "don_confiao_product" ("active", "name", "price", "measuring_unit", "unit_external_id", "external_id") VALUES (true, 'ADMINISTRACIÓN Y COORDINACIÓN', NULL, 'Unit', '1', '328') RETURNING "don_confiao_product"."id"
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.524 UTC [4153] ERROR: duplicate key value violates unique constraint "don_confiao_product_name_056f50b2_uniq"
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.524 UTC [4153] DETAIL: Key (name)=(Lechuga Crespa Morada) already exists.
tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.524 UTC [4153] STATEMENT: INSERT INTO "don_confiao_product" ("active", "name", "price", "measuring_unit", "unit_external_id", "external_id") VALUES (true, 'Lechuga Crespa Morada', 3300, 'Kilogram', '2', '306') RETURNING "don_confiao_product"."id"

# Descripción **COMO** usuario administrador **QUIERO** poder ver una descripción detallada dentor de la ventana de sincronizacion cuando falle la sincronizacion de un producto o cliente por cada registro. **PARA** conocer la causa del fallo y poder proceder a dar o buscar una solucion sin necesidad de intervenir en el despliegue o codigo fuente de la aplicacion. # Criterios de aceptación 1. La ventana de sincronización de productos o clientes fallidos debe tener una nueva columna con el nombre "Detalle" en el que se muestre porque esta fallando la sincronizacion de este registro. duct"."measuring_unit", "don_confiao_product"."unit_external_id", "don_confiao_product"."external_id" FROM "don_confiao_product" WHERE "don_confiao_product"."external_id" = '507' LIMIT 21; args=('507',); alias=default tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.516 UTC [4153] ERROR: null value in column "price" of relation "don_confiao_product" violates not-null constraint tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.516 UTC [4153] DETAIL: Failing row contains (390, ENVASES Y EMPAQUES, null, Unit, 326, 1, t). tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.516 UTC [4153] STATEMENT: INSERT INTO "don_confiao_product" ("active", "name", "price", "measuring_unit", "unit_external_id", "external_id") VALUES (true, 'ENVASES Y EMPAQUES', NULL, 'Unit', '1', '326') RETURNING "don_confiao_product"."id" tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.518 UTC [4153] ERROR: null value in column "price" of relation "don_confiao_product" violates not-null constraint tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.518 UTC [4153] DETAIL: Failing row contains (391, ADMINISTRACIÓN Y COORDINACIÓN, null, Unit, 328, 1, t). tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.518 UTC [4153] STATEMENT: INSERT INTO "don_confiao_product" ("active", "name", "price", "measuring_unit", "unit_external_id", "external_id") VALUES (true, 'ADMINISTRACIÓN Y COORDINACIÓN', NULL, 'Unit', '1', '328') RETURNING "don_confiao_product"."id" tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.524 UTC [4153] ERROR: duplicate key value violates unique constraint "don_confiao_product_name_056f50b2_uniq" tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.524 UTC [4153] DETAIL: Key (name)=(Lechuga Crespa Morada) already exists. tienda_ilusion_postgres_staging | 2026-07-30 21:12:54.524 UTC [4153] STATEMENT: INSERT INTO "don_confiao_product" ("active", "name", "price", "measuring_unit", "unit_external_id", "external_id") VALUES (true, 'Lechuga Crespa Morada', 3300, 'Kilogram', '2', '306') RETURNING "don_confiao_product"."id"
Aserrador changed title from Lanzar errores cuando se sincronizen productos. to RF-Agregar descripcion de error en caso de que falle la sincronizacion de un producto o cliente 2026-08-15 14:52:37 -05:00
Author
Owner

Hecho

Hecho
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OneTeam/don_confiao_backend#45
No description provided.