Project

General

Profile

Actions

Bug #1686

open

No se puede cargar la imagen de una revolvedora en un cuestionario del SII

Added by Miguel Ruiz Velasco 5 days ago. Updated 5 days ago.

Status:
Feedback
Priority:
Normal
Start date:
10/23/2026
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

No se puede cargar la imagen de una revolvedora en un cuestionario del SII

Actions #1

Updated by Miguel Ruiz Velasco 5 days ago

  • Status changed from New to In Progress
Actions #2

Updated by Miguel Ruiz Velasco 5 days ago

Revisar en que clases intervienen:

mx.gob.conocer.sii.web.controller.pyd.psdevelopment.ei.EvaluationInstrumentQuestionDefinitionController.uploadQuestionImage(Long, UploadFile, HttpServletRequest, HttpServletResponse)
mx.gob.conocer.sii.service.pyd.psdevelopment.evaluationinstrument.impl.QuestionDefinitionServiceImpl
mx.gob.conocer.sii.service.pyd.psdevelopment.evaluationinstrument.impl.QuestionDefinitionServiceImpl.uploadQuestionImage(FileDTO, Long)

Actions #3

Updated by Miguel Ruiz Velasco 5 days ago · Edited

  • % Done changed from 0 to 50

La excepcion:

2026-10-23 16:04:06,421 [http-nio-8080-exec-2] DEBUG m.g.c.s.s.commons.aop.TracingAOP - mx.gob.conocer.sii.commons.exception.ServiceException: Se ha agotado el tiempo de espera, favor de intentarlo nuevamente.
mx.gob.conocer.sii.commons.exception.ServiceException: Se ha agotado el tiempo de espera, favor de intentarlo nuevamente.

Caused by: mx.gob.conocer.sii.commons.exception.ServiceException: Lock wait timeout exceeded; try restarting transaction

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction

Actions #4

Updated by Miguel Ruiz Velasco 5 days ago

  • Description updated (diff)
Actions #5

Updated by Miguel Ruiz Velasco 5 days ago

  • % Done changed from 50 to 100

Quitar mezcla de conexiones entitymanager y datasource
Se llamaba un SP desde datasource pero se encontraba la tabla bloqueada por una transacción del EntityManager
Se cambió para sacar la conexión del EM, y no cerrarla hasta que termine (obtener fuera del try-with-resource)

Actions #6

Updated by Miguel Ruiz Velasco 5 days ago

  • Status changed from In Progress to Feedback
Actions

Also available in: Atom PDF