Closed
Description
I has a blank excel file which the first column setDataValidation with a column range.
then when use phpoffice/phpspreadsheet 1.5.2 to load the file, code as follows.
$phpReader = IOFactory::createReader('Xlsx');
$excel = $phpReader->load('D:\\develop\\test.xlsx');
What is the current behavior?
Apache record error log as follows
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in phpoffice\phpspreadsheet\src\PhpSpreadsheet\Cell\Coordinate.php on line 336
Activity
yhdban commentedon Dec 3, 2018
test.xlsx
yhdban commentedon Dec 11, 2018
I chage the data validation code in \PhpOffice\PhpSpreadsheet\Reader\Xlsx.php as follow:
stale commentedon Feb 9, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.
huelsgp27 commentedon Nov 15, 2024
same issue
<dataValidation type="list" allowBlank="1" showInputMessage="1" showErrorMessage="1" sqref="N\$1:N\$1048576"> <formula1>"A, B, C"</formula1> </dataValidation>
oleibman commentedon Nov 16, 2024
I have some ideas here. It may require a breaking change.
WIP Breaking Change for DataValidation