GithubHelp home page GithubHelp logo

Comments (4)

gsar avatar gsar commented on June 11, 2024 2

this is a regression in rails 7.1.0. i see there is a PR that has been merged into the upcoming 7.1.2 release branch.

from activeadmin.

javierjulio avatar javierjulio commented on June 11, 2024

Thank you. Sorry, there isn't anything actionable here. This could depend on several factors. We use Rails 7.1.1 as part of the default dev workflow here and I'm able to export a CSV on any index page using the development app just fine. No reports on my side with our own ActiveAdmin usage either as we run v3.1.0. I'd suggest creating a reproduction to isolate the issue as that would be most helpful for identifying and fixing this. We would be open to a PR to resolve it as well. Thanks.

from activeadmin.

paulhklam1122 avatar paulhklam1122 commented on June 11, 2024

Thank you. Sorry, there isn't anything actionable here. This could depend on several factors. We use Rails 7.1.1 as part of the default dev workflow here and I'm able to export a CSV on any index page using the development app just fine. No reports on my side with our own ActiveAdmin usage either as we run v3.1.0. I'd suggest creating a reproduction to isolate the issue as that would be most helpful for identifying and fixing this. We would be open to a PR to resolve it as well. Thanks.

Hi @javierjulio I did some more debugging and it looks like it's due to the Activeadmin CSV streaming option.

If you're testing on development trying adding config.disable_streaming_in = %w[staging] to your config/initializers/active_admin.rb. This will enable the CSV streaming for development and you will get the previously menntioned error.

Right now, the temporary solution to get around this issue is disabling CSV streaming but it's not an ideal permanent solution.

Please consider re-opening this issue, thank you.

from activeadmin.

paulhklam1122 avatar paulhklam1122 commented on June 11, 2024

Thank you, I also see another PR for the same issue. Thank you all, I guess we'll just have to wait for a Rails 7.1.2 release to fix this issue.

from activeadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.