Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Classic 2.6.4 eval - Error when insert none required field (Read 7319 times) previous topic - next topic

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #16
The best option would be to set a default value for each none required field until the bug gets fixed.

Thanks.

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #17
i've been waiting patiently for the next release 2.6.8.

Four versions 2.6.5..... 2.6.8 yet  launched and until now the bug still there... Oh... come on...
how can you put a default value on a field like date of payment, payment amount, etc...
it's unbelievable that no one is using "required:false" on any project till today.

I give up...

 

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #18
The problem is with your database design. I would suggest you design your database with another tool and use phprad to generate the application.

If you like, you can try to insert into the database table with any other tool to see if it works.

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #19
Hi Emman..
Here is a complete video of what is happening in Classic version.

In Vue version everything work like a charm.

Thanks for your reply.

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #20
Please i would look into this deeply. But i have tried to replicate the issue on my side but has not succeeded. Here's is a sample video demonstrating the same scenario on my PC.

https://youtu.be/r9TvGN-m4L0


Re: Classic 2.6.4 eval - Error when insert none required field

Reply #21
Hi Emman...

Thanks for the video.
As i saw, you are using xampp. I removed Laragon from my pc and installed XAMPP instead.
Now it is working.
Laragon has more features than XAMPP and it's widely used. (https://www.slant.co/topics/5299/versus/~laragon_vs_xampp_vs_mamp).

In XAMPP it works... but the none required fields are not saved as NULL they are filled with "0". Usually the none required fields must be NULL.

Could you please make the test using LARAGON and figure out if you get the same scenario?
if yes, could you please fix it to work with Laragon?

For now, i will be using XAMPP to avoid this issue.

Thanks again.


Re: Classic 2.6.4 eval - Error when insert none required field

Reply #22
Thank you for introducing me to the Laragon. Now i can test and see whats the problem. Please expect new update in few days to address this issue.

Kind regards.

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #23
Issue resolved in version 2.6.9. Please check it out and confirm with Laragon.
Thanks for your great support in fixing this bug.

Best Regards

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #24
 :D  :D  :D
Finally it is working ...

Thanks you Emman for your kind support and kind words.

You´re the One, you´re Legend...

Best Regards,

Grou

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #25
I encountered the error again in 2.7.3. Is there a way to avoid it?


Re: Classic 2.6.4 eval - Error when insert none required field

Reply #27
THX Willvin! I overlooked the settings.

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #28
Sorry! On product server the app not working correct. The field generation is correct, but the fitst selet option value is empty, not 0. Other value of options is correct.
For example:
<select>
<option value="">label1</option>
<option value="2">label2</option>
<option value="3">label3</option>
</select>

value=1 to label1 empty.
The SELECT query is correct in PhpMyAdmin.

Re: Classic 2.6.4 eval - Error when insert none required field

Reply #29
I thing, that root of the problem is the value of label1=0.