solop-develop / frontend-core

ADempiere-Vue is a new UI for ADempiere ERP, CRM & SCM. It is based on Vue and uses the UI Toolkit element-ui. It is a great UI for ADempiere ERP, CRM & SCM, based on the newest development stack of Vue, built-in i18n solution, typical templates for enterprise applications, lots of awesome features. This project was forked from Vue-Element-Admin originally write by PanJiaChen / 花裤衩 over MIT license and was changed to GNU/GPL v3 by Yamel Senih after forked granted by PanJiaChen / 花裤衩 on the issue "Extend as GNU/Gpl v3 License #1434".
https://solop-develop.github.io/frontend-core
GNU General Public License v3.0
2 stars 7 forks source link

Request a Logo múltiples veces #2869

Open yamelsenih opened 1 week ago

yamelsenih commented 1 week ago

Cuando se selecciona un registro en cualquier ventana o se refrescan los datos se estan haciendo muchas peticiones al logo. Esto es extraño porque en los únicos eventos donde el logo debería cargarse es en el login o al forzar el refresh de la página completa

En total son 6 request por cada refresh

https://github.com/user-attachments/assets/82ae72f9-87e7-432b-9486-c882b41abdfa

Las peticiones son Image

curl 'http://0.0.0.0/api/resources/302d30ee-741f-480a-9e52-4ffc4b9bcbe0/client/attachment/ad_clientinfo/1000001/logo_id/logo_id.png' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \
  -H 'Referer: http://0.0.0.0/vue' \
  --insecure
curl 'http://api.adempiere.io:9000/adempiere/302d30ee-741f-480a-9e52-4ffc4b9bcbe0/client/attachment/ad_clientinfo/1000001/logo_id/logo_id.png?X-Amz-Signature=05543718fe7e1f9a2bc2be6617c34a2ff7318759b84124b12271d12bd829e205&X-Amz-Date=20241024T131929Z&X-Amz-Credential=adempiere%2F20241024%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=604800&X-Amz-SignedHeaders=host' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \
  -H 'Referer: http://0.0.0.0/'
EdwinBetanc0urt commented 1 week ago

Cambios disponibles a partir de la versión del frontend 4.4.022.

https://github.com/user-attachments/assets/2a7782cb-6ee1-462c-a7ca-92d6c81d5afe