Skip to content
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

Scale must be greater than or equal to 1. #227

Closed
1 of 3 tasks
ghost opened this issue Sep 21, 2017 · 4 comments
Closed
1 of 3 tasks

Scale must be greater than or equal to 1. #227

ghost opened this issue Sep 21, 2017 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Sep 21, 2017

This is:

What is the expected behavior?

What is the current behavior?

Scale must be greater than or equal to 1.

What are the steps to reproduce?

<?php

require __DIR__ . '/vendor/autoload.php';

$spreadsheet = IOFactory::load($this->csvPath);
$this->data = $spreadsheet->getActiveSheet()->toArray(null,true,true,true);

Which versions of PhpSpreadsheet and PHP are affected?

development(0477e6f)

Temporary fix

https://github.com/ahmetkapikiran/PhpSpreadsheet/commit/b8efea41f00563366b75d91840b9656913ce1723?diff=unified

@PowerKiKi
Copy link
Member

Code is incomplete and mentions CSV, but diff seems to be about XLSX. Description does not explain why the change is necessary. What happened before ?

@ksn135
Copy link

ksn135 commented Oct 9, 2017

@am0nshi
Copy link

am0nshi commented Jun 5, 2019

@PowerKiKi hi, seems like problem is still actual in 2k19. Does it was solved in any kind ? I could attach problem xml to reproduce flow. Error directly is:
image
Xlsx:
Прайс_Радиоуправляемые машинки.xlsx

@PowerKiKi
Copy link
Member

I believe this is a duplicate of #350 and has been fixed in 2e37578 since v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants