codbex / codbex-kronos

SAP HANA XS Classic and ABAP Compatibility Platform
https://codbex.com
Eclipse Public License 2.0
5 stars 3 forks source link

[XSJS] DELETE requests not working in xsjs #559

Closed pkjanocha closed 4 months ago

pkjanocha commented 4 months ago

The bug occurs on codbex 0.7.1 version, when I manage to run higher versions, I will also check them.

XSJS files handle different REST methods using switch ($.request.method). GET, POST and UPDATE work as intented, but the problem is with DELETE. It should be handled by case $.net.http.DEL:, but it is not - $.request.method is empty and is handled by default: case instead.

image

iliyan-velichkov commented 4 months ago

Hi @pkjanocha, Please try again with the latest version of Kronos ghcr.io/codbex/codbex-kronos:latest. If the issue is not fixed, please send me the application logs and the steps which are needed to reproduce the problem.

iliyan-velichkov commented 4 months ago

Will be fixed with https://github.com/codbex/codbex-kronos/pull/574

iliyan-velichkov commented 4 months ago

@pkjanocha the fix was merged. Please test it with the latest kronos image version.