Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Bank account max length is 12 caraceters when created but not anymore after edition #31365

Closed
mikygee opened this issue Oct 11, 2024 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@mikygee
Copy link
Contributor

mikygee commented Oct 11, 2024

Bug

Version: 20.0.1

Hello,

I create a new bank account with 12 caracters as a Ref, like this
image
And I cannot write more than 12 caracters

After creation I have
image

Then I edit again this account, but I'm able to write more than 12 caracters
image

And after modification I have this
image

Then I edit it again and I see that Ref is truncated to 12 caracters
image

In database, if I do > desc llx_bank_account; I see that ref is varchar(12)

So either Ref should be blocked to 12 caracters after editing, or it should be longer in the database but also blocked to a specific length

Dolibarr Version

20.0.1

Environment PHP

No response

Environment Database

No response

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

@mikygee mikygee added the Bug This is a bug (something does not work as expected) label Oct 11, 2024
aspangaro added a commit to aspangaro/dolibarr that referenced this issue Oct 24, 2024
@mikygee
Copy link
Contributor Author

mikygee commented Oct 24, 2024

Hello Alexandre,
Thank you.
Is there any reason why the Ref is 12 characters "only"
I tend to use power of 2, here I mean 16 (or 32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants