Developer forum

Forum » Ecommerce - Standard features » Increasing number of digits

Increasing number of digits

Niklas Hjort
Reply

Hi DW

I have a customer that wants to enter a number larger than "2147483647" and save a custom fee rule.

When i inspect the input element for the volume limit field inside shipping settings i can see that it has a upper limit of "2147483647". However if i change this number i still cannot save the rule set.

If i increase the number to 2147483648 and hit the save button i recieve the error below:

"An invalid form control with name='FeeVolumeLimit_Editor' is not focusable."

Is it possible to change this somehow?

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

What are they shipping that's larger than 2 billion cubic meters? That's about 8000 of the largest vessels in the world combined (https://en.wikipedia.org/wiki/Mozah) :-)

 
Niklas Hjort
Reply

Hi Imar

I was confused aswell... The unit they are using is mm3. 

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

I thought it may have been Star Trek's USS Enterprise or a Star Wars's Destroyer.

 

But I guess I was wrong

 
Nicolai Pedersen
Reply

The editor is a number editor that sets the max value to Integer.MaxValue - this field is a double so it can technically support double.MaxValue. That would require a release of an updated backend though.

Cubic mm? That is also really strange...

BR Nicolai

 
Niklas Hjort
Reply

Hi Nicolai

The customer would appreciate a new release as it would fix their issue.

BR Niklas

 
Nicolai Pedersen
Reply

Devops #7561 on its way.

 

You must be logged in to post in the forum