-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excel with protection, black cells after edit #1353
Comments
Complete example |
I found that Xlsx.php@1624 causes this: Anyone has an idea what the side effects are if we just remove this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Xlsx.php@1624
because this way the background becomes transparent, and in your case it’s just white. Sorry for my english.... |
This is:
What is the expected behavior?
Open TestCaseAnonym.xlsx and write into unprotected cell should not change style of other cells.
What is the current behavior?
Open
TestCaseAnonym.xlsx
, write into unprotected cell, save to TestCaseOutput.xlsx.
Lots of cells (probalbly all protecte?) are now unreadable because they have a black background color.
What are the steps to reproduce?
composer install
php -f TestCase.php
View TestCaseOutput.xlsx.
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
Which versions of PhpSpreadsheet and PHP are affected?
1.10.1
I have the same issue with the old PhpExcel.
php 7.2
The text was updated successfully, but these errors were encountered: