leste Posted January 13, 2013 Share Posted January 13, 2013 Bonjour, Sélection du minimum de caractère pour la description courte de 413 Import d'un fichier csv, ce qui donne au delà des 413 caractères 3 petit point ... et un beau message à la modification manuel d'une fiche produit : Property Product->description_short length (422) must be between 0 and 413 at line 872 in file classes/ObjectModel.php 866. 867. $message = $this->validateField($field, $value, $id_lang); 868. if ($message !== true) 869. { 870. if ($die) 871. throw new PrestaShopException($message); 872. return $error_return ? $message : false; 873. } 874. } 875. } 876. Si j'analyse bien il y à donc 9 Caractères de trop alors que le maximum est réglé à 413 !!! Ce qui donne à la modification de la fiche une belle page blanche ( ou ce message d'erreur) seul solution, enlever du texte, ensuite la fiche est OK ou Après importation, changer la valeur en l'augmentant du description_short length Toutes idées est bonnes à prendre si vous avez une solution ! pas trouvé dans l bugTracker Merci à tous Link to comment Share on other sites More sharing options...
taoufiqaitali Posted March 3, 2013 Share Posted March 3, 2013 Go to backoffice > preferences > product Then search for the Description Lenght field... in my case it had "0" as value... I changed it to "20000" (then save the new parameters). By the moment it has fixed the problem 1 Link to comment Share on other sites More sharing options...
leste Posted March 3, 2013 Author Share Posted March 3, 2013 Thank you, this is actually the solution I applied but the problem is that 2000 characters in the short description is ugly! and this is a bug that does not exist in 1.4.9 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now