axelor / axelor-open-suite

The Axelor Open Suite based on Axelor Open Platform
http://axelor.com
Other
846 stars 682 forks source link

SyntaxError JSX #12672

Open Elise-Ayme opened 6 months ago

Elise-Ayme commented 6 months ago
          Hi, 

After updated version 8.0.7, the problem persist : "Error 500"

SyntaxError: unknown: Expected corresponding JSX closing tag for <>. (2:101)

1 |

2 | <>Badge bg={invoiced ? "success" : "danger"}>{invoiced ? _t('Invoiced') : _t('Not invoiced')}</> | ^ 3 |
at u (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:135:18334) at o.raise (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:135:62990) at u.jsxParseElementAt (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:4707) at u.jsxParseElement (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:5303) at u.parseExprAtom (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:5510) at o.parseExprSubscripts (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:95468) at o.parseUpdate (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:95083) at o.parseMaybeUnary (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:94698) at o.parseMaybeUnaryOrPrivate (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:91502) at o.parseExprOps (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:91612) at o.parseMaybeConditional (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:91082) at o.parseMaybeAssign (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:90334) at o.parseExpressionBase (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:89443) at https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:89350 at o.allowInAnd (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:12457) at o.parseExpression (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:137:89319) at o.parseStatementContent (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:21199) at o.parseStatementLike (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:18294) at o.parseModuleItem (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:17571) at o.parseBlockOrModuleBlockBody (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:30875) at o.parseBlockBody (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:30708) at o.parseProgram (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:15532) at o.parseTopLevel (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:15237) at o.parse (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:55790) at VR (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:138:56401) at https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:2713:524 at F (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:134782) at Generator. (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:136239) at Generator.next (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135222) at F (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:134782) at oe (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:136706) at Generator. (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135994) at Generator.next (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135222) at F (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:134782) at oe (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:136706) at Generator. (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135994) at Generator.next (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135222) at F (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:134782) at oe (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:136706) at Generator. (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135994) at Generator.next (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:110:135222) at bN (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:2679:5963) at sync (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:2679:3664) at stopHiding - secret - don't use this - v1 (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:2686:9314) at T0e (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:2718:3086) at Object.hFe [as transform] (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:3284:9413) at Vte (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:3348:4362) at https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:3349:1020 at Nb.get (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:80:22781) at Aln (https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js?1716837219365:3349:1001)

Originally posted by @Elise-Ayme in https://github.com/axelor/axelor-open-suite/issues/12599#issuecomment-2134609932

Lsm-CVX commented 4 months ago

The latest version 6.0.9 have been deployed and the issue is still existing. Please acknowledge or reply.

Elise-Ayme commented 4 months ago

Hi, Yes, I confirm the problem is still existing for the version 8.0.9 This is really annoying and problematic now.

Lsm-CVX commented 4 months ago

Latest version 8.0.11 still not working :

image