Actions
Bug #9067
closedPHP error when installing first package with empty installedpackages tag
Start date:
10/25/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All
Description
If the configuration contains only <installedpackages></installedpackages>
then installing a package will fail with a PHP error:
[25-Oct-2018 19:35:51 Etc/UTC] PHP Warning: Illegal string offset 'package' in /etc/inc/pkg-utils.inc on line 790 [25-Oct-2018 19:35:51 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/inc/pkg-utils.inc:790 Stack trace: #0 /etc/rc.packages(74): install_package_xml('Cron') #1 {main} thrown in /etc/inc/pkg-utils.inc on line 790
Updated by Jim Pingle about 6 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Applied in changeset bfd3334b4bc9ae0d3c43f69e8305c83b0da3aa58.
Updated by Danilo Zrenjanin about 6 years ago
I've upgraded to:
2.4.5-DEVELOPMENT (ARM)
built on Wed Nov 07 16:23:36 EST 2018
FreeBSD 11.2-RELEASE-p4
Configuration contained only <installedpackages></installedpackages>
I installed successfully Acme package without any PHP error messages.
Updated by Jim Pingle about 6 years ago
- Status changed from Feedback to Resolved
Actions