Defect #1595
getBarcode() generate incorrect url when using an instance name
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
barcode
Target version:
-
Start date:
02/28/2025
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
Description
When using the plugins.VelocityReport.getBarcode in an instance it will add the instance name to the URL even in servoy-admin there is a different URL defined for eastwood.
https://[server]/[instance_name]/eastwood/genbc?type=code128&fmt=png&msg=ServoyStuff&res=384
var barcodeDefinition = { data: "ServoyStuff", type: plugins.VelocityReport.BARCODE.CODE128 };
var barcode = plugins.VelocityReport.getBarcode(barcodeDefinition)
plugins.dialogs.showWarningDialog('', barcode.getURL())
Files
History
Updated by Patrick Talbot about 2 months ago
- Status changed from New to Resolved
This is fixed in v3.8 - now uses the velocityreport.eastwoodURL as-is