Ticket #411 (closed defect: fixed)
Update QArchive to declare strLastError and method to access it
| Reported by: | fa7ll7en | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1.1 Stable |
| Component: | Framework | Version: | 1.1 Development |
| Keywords: | Qarchive, zip, tar | Cc: |
Description
QArchive.patch is QArchive with $strLastError declared and an added method to access it (e.g QPluginInstaller). It also includes an internal method that uses the integer returned by a zip_open, zip_read, etc to give a more detailed error string. zipFileErrMsg is used was at line 86 which is the else for the is_resource(zip_open()) up at line 39. also used at line 81 .
QArchive3.patch is the same as above but It also has an additional method to extract tar, tar.gz, tar.bz2 archives using the PEAR Archive_Tar package to handle extraction. I dont know if anybody would be interested in it. it doesnt have much in the way of error handling but it works and its a start.

