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

Request #17816 Return complete IMPORT_RES status from import function
Submitted: 2010-08-25 17:30 UTC
From: alec Assigned:
Status: Open Package: Crypt_GPG (version SVN)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 47 - 47 = ?

 
 [2010-08-25 17:30 UTC] alec (Aleksander Machniak)
Description: ------------ It's sometimes good to know a complete gpg response from importing function. E.g. when you import a revocation certs or sth. --- GPG.old 2010-08-19 22:18:05.000000000 +0200 +++ GPG.php 2010-08-25 15:28:01.266612007 +0200 @@ -1618,6 +1641,7 @@ $result['public_unchanged'] = intval($tokens[5]); $result['private_imported'] = intval($tokens[11]); $result['private_unchanged'] = intval($tokens[12]); + $result['result'] = array_slice($tokens, 1); break; } }

Comments

 [2010-08-25 17:46 UTC] alec (Aleksander Machniak)
...or provide separate import() and importFile() methods with extended result.