Comments (2)
I think this issue is still relevant and can be fixed this way:
$csvWriter = Writer::createFromPath($this->getOutputPath(), 'a');
$csvWriter->setNewline("");
Without clearing the newline there will be an empty line between each record since file mode a already inserts a new line.
For my situatie this fix works but it is not tested in any other setup.
from silverstripe-gridfieldqueuedexport.
Would you be willing to create a pull request for this change @SanderHamaka?
from silverstripe-gridfieldqueuedexport.
Related Issues (20)
- Add queued import button?
- Can't bookmark/refresh download page in DataObject HOT 6
- Check and update module for SS4 compatibility where necessary
- Template not found in SilverStripe 4.1 HOT 3
- Extension setup errors HOT 1
- None of the following templates could be found (namespace issue) HOT 2
- Does not respect GridField filtering HOT 9
- Investigate: Multi server "export has already been downloaded" HOT 16
- Dir perms affected by current user mask, prevents file cleanup HOT 1
- Tests fail on SS 4.4 with capitalisation change HOT 1
- "Back to X" button should use GridField title, not name HOT 3
- Subverting SS4 assets module and potentially weakening the security of the module
- Broken build - testGenerateExport() - Couldn't restore GridField
- Userforms integration documentation
- Nested gridfield compatibility seems broken HOT 1
- PermissionFailure for user after clicking export button HOT 2
- Module breaks on Silverstripe 4.12 HOT 8
- Erroring with elemental-userforms
- info message when after running filling up the logs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silverstripe-gridfieldqueuedexport.