Open cobalt74 opened 10 years ago
Update cell mode doesn't check control on INT type
Unit test case: Define a column with INT feature add a new row ( control ok ) Try to update straight on cell ==> update done Expected results : Error message
@chezbas est ce que tu peux ajouter à la table lisha_language
Ok, c’est fait J’ai supprimé la table lisha_text et activé l'utilisation des fichiers xxx.json j’ai renommé la table lisha_language en lisha_i18n Bref.. have fun Le 5 nov. 2013 à 22:40, Cobalt74 notifications@github.com a écrit :
@chezbas est ce que tu peux ajouter à la table lisha_language
le champ : number_of_decimal INT(2) ? — Reply to this email directly or view it on GitHub.
Pour récapituler, il faut :
define("__LISHA_TABLE_LOCALIZATION__","lisha_i18n"); // Localization information
Pour le raccourcis de la doc ?
Cell update
Test case :
On a FLOAT column type
$obj_lisha_tran>define_column("transaction
.my_numeric
",'my_numeric','MyNum',FLOAT,WRAP,LEFT);
$obj_lisha_tran->define_attribute('__column_number_of_decimal', 7,'my_numeric');
Input value "123" and validate Input value "a" straight in cell and validate
Result recorded is 0
Expected results : Error message as in line update that said : You have to input a numeric value !! Escape key exit cells update mode and return to display
Have to enable NULL feature on numeric column if you want to display blank
Row update input NULL value rise a unexpected message error
Display bug: Test case on e dit line mode : choose a line with decimal value data recover in input field is not localized Here below an example
ouep je sais !! :) il reste ça : Edit line recover value - Localisation decimal symbol
faudra faire des fonctions dans chaque classe BDD pour être plus propre.
Yes sir, A clean pass to do for a lot of things ;)
Have a bug
Test case Edit line mode with numeric column Clear content and check update box Press enter to record modification rise an error
Error_log file side rise a notice on query error
UPDATE transaction SET my_numeric
=
WHERE (index
= "3")
changes related
Bugs