GithubHelp home page GithubHelp logo

jsreport-s3-storage's Issues

Prevent dual storage?

Is there a way to prevent dual-storage of the generated reports? Currently I am saving the report files to Amazon S3, but jsreport is also saving them on the filesystem. Can this be prevented in your s3 plugin, or does it need to be done through jsreport somehow?

Two files saved instead of one

Thanks for your great jsreport plugin! I just got it setup and tested it with some sample reports, and it works as advertised, but with one minor issue - it appears to save 2 copies of the .pdf file to S3, and I'm not sure why...

I'm using the Postman REST client and POSTing this as my request body (with a Content-Type: application/json header):

{ 
   "template": { "shortid" : "4yxoH6IzW" },
    "options": { 
        "reports": { "save": true }
    }
}

The result in my S3 Bucket is two files with a one-second time-difference (in the filename).

I'm not sure if this is due to your plugin, or if jsreport is actually sending two 'afterRender' events. Are you aware of this issue? Have you experienced anything like this before?

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.