Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.4

Bug #3068 Admin::update() buggy
Submitted: 2004-12-30 20:14 UTC
From: tobias dot eberle at gmx dot de Assigned: quipo
Status: Closed Package: Translation2
PHP Version: 4.3.10 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-12-30 20:14 UTC] tobias dot eberle at gmx dot de
Description: ------------ Hello, I have multiple tables for different languages. I have defined a string in one language (i.e. en), but not in another one (i.e. de). If I want to add a translation for 'de' (and maybe change the 'en' one), update() only updates the existing string in 'en' and does not add the new string in 'de' (because it queries "UPDATE translation_de SET de = 'string' WHERE sStringId = 'mystringid' AND sPageId = 'mypageid';", of cause update failes). I have only tested db container. Bye, Tobias Eberle

Comments

 [2005-01-03 17:47 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-01-03 18:25 UTC] tobias dot eberle at gmx dot de
I used beta5. I checked cvs and saw that the admin files were changed last before the release of beta5. Therefore I did not test this yet. Are you sure you added only to the one and not to the other language (Really no entry! Not adding NULL!) while you test it? Firstly I added array(1) { ["en"]=> string(7) "english" } and then do the edit: array(2) { ["en"]=> string(7) "english" ["de"]=> string(6) "german" } A look at Translation2/Admin/Containers/db.php line 351 shows that there weren't any inserts (or I missed them ;-) )
 [2005-01-03 22:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-01-04 12:25 UTC] tobias dot eberle at gmx dot de
Works fine. Thank you for fixing.
 [2005-01-04 16:13 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!