-
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
Set Branch pruning Off by default #1148
Conversation
I think we could do better than disabling by default by fixing the bug you may have discovered. The branch pruning is not supposed to have side effects, but as you noticed I was not sure of this. You add a test with a dependency on an Excel file that contains thousands of lines, could you consider updating If that's ok, once you are done I will investigate on that. |
@frantzmiccoli I have simplified the excel file. ( reduced amount of rows, left only one worksheet ) |
Hope it helps you to find the bug in-branch pruning. |
@frantzmiccoli have you made any progress on this investigation ? |
@rolandsusans No, I will try to spend time on it this week-end. |
Sorry I have been lacking time to work on that, I put it in my agenda for next sunday. |
@frantzmiccoli thank you for investigating this one. I took the liberty to assign you the issue... |
This is not a bug related with the branch pruning but with IF formula resolution. $spreadsheet = new Spreadsheet();
$workSheet = $spreadsheet->getActiveSheet();
$cellA1 = $workSheet->getCell('A1');
$cellA1->setValue('=IF(NA(),1,0)');
$this->assertEquals('#N/A', $cellA1->getCalculatedValue());
// instead of '#N/A' we get 1 here. In the sample file, instead of 1, the resolved value is '#N/A'. I am working on a fix. |
See #1165 This fix is not enough to fix inconsistencies though. |
#1167 fixes the remaining problem. |
@frantzmiccoli Tnx for investigation. I checked those PR's and left some comments. Will close this PR. |
This is:
#1149
Checklist:
Why this change is needed?