Project

General

Profile

Defect #1595

getBarcode() generate incorrect url when using an instance name

Added by John Makkink about 2 months ago. Updated about 2 months ago.

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

Screenshot 2025-02-28 164611.png (15.2 KB) Screenshot 2025-02-28 164611.png servoy-admin settings John Makkink, 02/28/2025 04:48 PM

History

#1

Updated by Patrick Talbot about 2 months ago

  • Priority changed from High to Normal
#2

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

Also available in: Atom PDF