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

csv source does not return entries #70

Open
ghost opened this issue Oct 11, 2013 · 1 comment
Open

csv source does not return entries #70

ghost opened this issue Oct 11, 2013 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Oct 11, 2013

Created by paulr, 12th Jul 2011. (originally Lighthouse ticket #25):


Hello,

the id is set in controller like $this->Csv->id = 1
now i want to retrieve the line with id 1 and use $this->Csv->read() but this code returns nothing.
I think there is a bug in __checkConditions function (csv_source.php line 355) or my use of csv datasource is wrong ;)

update:
it depends from first line, my title line strings enclosed by "" like "id" and that is not corresponding to automated shema array. where is the right place to handle this?

@AD7six AD7six added the csv label Feb 17, 2014
@AD7six
Copy link
Member

AD7six commented Feb 17, 2014

Sounds like csv needs to trim quote characters from the file header.

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

No branches or pull requests

1 participant