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

Xml does not recognize data validations that references another sheet #639

Closed
diego-sorribas opened this issue Aug 20, 2018 · 2 comments
Closed

Comments

@diego-sorribas
Copy link

This is:

- [ x] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

Load the data validations that references lists of another sheet, I see that when the Xlsx reader on line 755 read the document it does not load the data validations but they are in the document content.

What is the current behavior?

It is not loading the data validations

What are the steps to reproduce?

Create a xlsx file with a column with data validation that reference a list of another sheet, then load it in your code.

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:

<?php

 $reader = IOFactory::createReader('Xlsx');
 return $reader->load('template.xlsx');

Which versions of PhpSpreadsheet and PHP are affected?

phpspreadsheet - 1.4.0
php - 7.2

@diego-sorribas
Copy link
Author

Debugging it I see that the data Validations comes into extLst node but the reader only get de uri of it

@diego-sorribas
Copy link
Author

I found another issue: #388

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

No branches or pull requests

1 participant