14.x & 15.x & doc.t.o: export sheet as CSV produces 'Array, Array, Array....'
- Status
- Closed
- Subject
- 14.x & 15.x & doc.t.o: export sheet as CSV produces 'Array, Array, Array....'
- Version
- 14.x Regression
15.x
15.x Regression - Category
- Error
- Regression
- Community projects
- Documentation (or Advocacy)
- Dogfood on a *.tiki.org site
- Feature
- Spreadsheet
- Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Lastmod by
- Xavier de Pedro
- Rating
- Description
14.x: export sheet produced WSOD (blank page). this used to work. (9.x, and 12.x)
error:
Fatal error: Call to a member function sheet_history() on a non-object in /var/www/xavi-9794-5723/tiki-export_sheet.php on line 48And reproduced here:
https://doc.tiki.org/tiki-export_sheet.php?sheetId=2
(as registered user)We need export this sheet from doc.t.o because it's the documentation of the feature, and we need a way to easily clone it in a trunk install, or tiki 12, to test regressions, etc.
Issue fixed in r57088 (trunk) and r57089 (14.x).
However, when exporting in CSV format (either pure CSV, or Excel-CSV format), content is stored as "Array, Array, Array..." (as many times as values)
Reproduced here:
http://xavi-9794-5723.show.tikiwiki.org/tiki-export_sheet.php?sheetId=1
u: admin
p: 12345- Solution
Since r49288, each cell on the grid hold his value inside a key name "value", not on the cell it self.
Updated the export functions to take that into consideration.
(Fixed in r57513, backported to 14.x and trunk)
Fix confirmed, thanks rjsmelo!
- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5723
- Created
- Wednesday 30 September, 2015 19:33:51 UTC
by Xavier de Pedro - LastModif
- Monday 15 February, 2016 09:27:42 UTC