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

Bug #7271 fromString not returning PEAR_Error on error
Submitted: 2006-03-31 14:22 UTC
From: jausions Assigned: jausions
Status: Assigned Package: Crypt_RSA (version 1.2.0b)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2006-03-31 14:22 UTC] jausions (Philippe Jausions)
Description: ------------ The Crypt_RSA_Key::fromString() method doesn't return a PEAR_Error object on error, which is the standard behavior expected in most PEAR package. Since the package has already been released as stable previously, this cannot be changed without causing a BC break. Can you add a secondary method that would work in the same way as Crypt_RSA_Key::fromString() but return a PEAR_Error object on failure? I'm not sure what would be a good name for it though: fromString2(), import? Again, I would provide a patch, but your code is not checking in PEAR's CVS server...

Comments

 [2009-01-05 08:31 UTC] doconnor (Daniel O'Connor)
The code is in CVS now - how about that patch?