Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0051033Localization Pack: SpainSIIpublic2022-11-29 13:552023-01-25 11:17
sofidossant 
mgonzalezh 
highmajoralways
closedno change required 
5
 
 
0051033: SII won't compile since Openbravo 22Q4 in QA
If you try to compile SII module (org.openbravo.module.sii) installed in Openbravo 22Q4 in QA, the following error is thrown:

compileSqlc:
    [javac] Compiling 3075 source files to /opt/OpenbravoERP/build/classes
    [javac] /opt/OpenbravoERP/modules/org.openbravo.module.sii/src/org/openbravo/module/sii/reports/ProcesoInformeMultiple.java:196: error: doGenerateReport(JSONObject,Map<String,Object>,JSONObject,String) in ProcesoInformeMultiple cannot override doGenerateReport(JSONObject,Map<String,Object>,JSONObject,String) in BaseReportActionHandler
    [javac] private void doGenerateReport(JSONObject result, Map<String, Object> parameters, JSONObject jsonContent, String action)
In an Openbravo environment with 22Q4, try to install the SII module since Forge.
The error is raised.
No tags attached.
duplicate of defect 0047054 closed juabaez SII won't compile since Openbravo 21Q3 
causes defect 0051230 closed Jorge Bravo Remove dependency to module JAX-WS-JAVA API 
png Captura de pantalla de 2022-12-06 12-11-12.png (134,358) 2022-12-06 16:15
https://issues.openbravo.com/file_download.php?file_id=17912&type=bug
png

png fr.png (154,709) 2022-12-06 16:16
https://issues.openbravo.com/file_download.php?file_id=17913&type=bug
png

png image (2).png (126,075) 2022-12-12 15:43
https://issues.openbravo.com/file_download.php?file_id=17934&type=bug
png
Issue History
2022-11-29 13:55sofidossantNew Issue
2022-11-29 13:55sofidossantAssigned To => Jorge Bravo
2022-11-29 14:57PracticsIssue Monitored: Practics
2022-11-30 11:08psanjuanNote Added: 0144241
2022-11-30 11:08psanjuanAssigned ToJorge Bravo => sofidossant
2022-11-30 11:08psanjuanStatusnew => feedback
2022-11-30 13:23psanjuanNote Added: 0144249
2022-11-30 13:24psanjuanRelationship addedduplicate of 0047054
2022-11-30 13:26psanjuanNote Added: 0144250
2022-11-30 13:27psanjuanStatusfeedback => closed
2022-11-30 13:27psanjuanResolutionopen => duplicate
2022-12-06 16:14sofidossantStatusclosed => new
2022-12-06 16:15sofidossantNote Added: 0144463
2022-12-06 16:15sofidossantFile Added: Captura de pantalla de 2022-12-06 12-11-12.png
2022-12-06 16:16sofidossantFile Added: fr.png
2022-12-12 15:43psanjuanNote Added: 0144536
2022-12-12 15:43psanjuanFile Added: image (2).png
2022-12-12 15:44psanjuanAssigned Tosofidossant => Jorge Bravo
2022-12-12 15:56Jorge BravoAssigned ToJorge Bravo => mgonzalezh
2022-12-12 17:41hgbotNote Added: 0144551
2022-12-15 12:58psanjuanNote Added: 0144739
2022-12-22 11:30psanjuanNote Added: 0144923
2022-12-22 11:30psanjuanStatusnew => closed
2022-12-22 11:30psanjuanResolutionduplicate => no change required
2022-12-22 12:44psanjuanRelationship addedcauses 0051230
2023-01-25 11:17hgbotNote Added: 0145827

Notes
(0144241)
psanjuan   
2022-11-30 11:08   
Hello Sofia, why do they need QA version of the module? Normally they should use QAA or CS. Can you please check?
thanks,
Patricia.
(0144249)
psanjuan   
2022-11-30 13:23   
Hello Sofia, besides the above please note that this bug was already submitted and fix, so I guess you will need to debug in customer/partner enviroment. See issue
https://issues.openbravo.com/view.php?id=47054 [^]
(0144250)
psanjuan   
2022-11-30 13:26   
Issue closed as duplicated. Our feedback was:
1st feedback
Hola Hector,

Por lo que he podido revisar internamente, vemos que esto se reportó y corrigió en su momento:
https://issues.openbravo.com/view.php?id=47054 [^]

Cualquier versión 1.9.212100 o superior debería funcionar bien


2nd feedback.
Eso es porque tendreís algún conflicto de dependencias con los módulos que teneis instalados en la instancia, y por eso el sistema no os propone la actualización al SII que necesitais. Esto es un problema genérico, nada que ver con el SII. Por favor crear un ticket en soporte.
(0144463)
sofidossant   
2022-12-06 16:15   
- He aplicado sus módulos en un entorno estándar
Verifique todas las dependencias del módulo sii, y las cumple:

image.png

Los setting del module management son QA, pero cambiandolas con cualquier setting tienen el siguiente warning:

Captura de pantalla de 2022-12-06 12-11-12.png

El error es: Spain SII 1.9.213813 module cannot be installed in the requested version because of dependencies problems, this version will be installed instead: 1.3.105

Y como no instala la ultima version, tengo el siguiente problema en la compilación:
compileSqlc:
    [javac] Compiling 3075 source files to /opt/OpenbravoERP/build/classes
    [javac] /opt/OpenbravoERP/modules/org.openbravo.module.sii/src/org/openbravo/module/sii/reports/ProcesoInformeMultiple.java:196: error: doGenerateReport(JSONObject,Map<String,Object>,JSONObject,String) in ProcesoInformeMultiple cannot override doGenerateReport(JSONObject,Map<String,Object>,JSONObject,String) in BaseReportActionHandler
    [javac] private void doGenerateReport(JSONObject result, Map<String, Object> parameters, JSONObject jsonContent, String action)

Lo que no entiendo es por qué no me instala la versión del módulo correcto, si tengo todas las dependencias.

Adjunto imagenes
(0144536)
psanjuan   
2022-12-12 15:43   
This error seems to be related to a wrongly defined dependency. SII module should be updated to support the correct dependency (to version 2.3.3) of the module JAS-WS-JAVA API
(0144551)
hgbot   
2022-12-12 17:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/45 [^]
(0144739)
psanjuan   
2022-12-15 12:58   
- we are going to publish a new version of SII module with this new major dependency, but we need to be sure it does work.
- MR above is being code reviewed and will be tested.
(0144923)
psanjuan   
2022-12-22 11:30   
After deeply reviewing this issue, SII module does not use this library. In a test enviroment we have installed SII without this module/library installed and it works correctly.

This issue is going to be closed and another one will be create to remove the dependency to the module JAS-WS-JAVA API
(0145827)
hgbot   
2023-01-25 11:17   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/45 [^]