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

SpreadsheetPrinter exports with "Notice: Undefined variable: values" #524

Closed
mwjames opened this issue Aug 3, 2019 · 1 comment · Fixed by #525
Closed

SpreadsheetPrinter exports with "Notice: Undefined variable: values" #524

mwjames opened this issue Aug 3, 2019 · 1 comment · Fixed by #525
Labels
Milestone

Comments

@mwjames
Copy link
Contributor

mwjames commented Aug 3, 2019

Setup

{
    "SMWElasticStore": {
        "mysql": "10.1.40-MariaDB-0ubuntu0.18.04.1",
        "es": "6.5.4"
    },
    "smw": "3.1.0-alpha",
    "mediawiki": "1.33.0",
    "php": "7.2.19-0ubuntu0.18.04.1"
}

Issue

The format=spreadsheet export produces:


Notice: Undefined variable: values in /var/www/html/sbxsmw/w/extensions/SemanticResultFormats/formats/spreadsheet/SpreadsheetPrinter.php on line 316
--
 
Warning: join(): Invalid arguments passed in /var/www/html/sbxsmw/w/extensions/SemanticResultFormats/formats/spreadsheet/SpreadsheetPrinter.php on line 316

Steps to reproduce

https://sandbox.semantic-mediawiki.org/w/index.php?title=SpreadsheetTest

{{#ask: [[Has number::+]]
 |?Has number
 |?Has text
 |format=spreadsheet
}}
@mwjames mwjames added the bug label Aug 3, 2019
@kghbln
Copy link
Member

kghbln commented Aug 3, 2019

@s7eph4n It will be great if you could have a peep.

s7eph4n added a commit that referenced this issue Aug 6, 2019
@kghbln kghbln added this to the 3.1.0 milestone Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants