killbill-admin-ui icon indicating copy to clipboard operation
killbill-admin-ui copied to clipboard

Creating New Catalog Plan Name Validation

Open SwathingBlock opened this issue 4 months ago • 1 comments

When creating a new Catalog, if a user inputs a Plan Name with white spaces:

Image

It results in a generic error, it apparently is because of the whitespaces but this should be much clearer and error handled to inform the user no white spaces are allowed if that is to be the case, otherwise white spaces should become supported by having a display name associated with the xml element (assuming that is the reason white spaces are not allowed).

SwathingBlock avatar Oct 08 '25 08:10 SwathingBlock

Hi @SwathingBlock Thank you for pointing this out. It actually follows NCName standards and does not allow spaces, colons. Only letters, digits, underscore, hyphen, decimal are allowed.

You are correct that it currently shows a generic error. I have raised an issue to add the necessary validation around it on the UI layer.

In the meantime, I would suggest you to use our online Catalog validator here https://cloud.killbill.io. It should give you the exact error.

KBbitsP avatar Oct 08 '25 10:10 KBbitsP