Comments (7)
Thank you for submitting issue. I can confirm this feature doesn't work with IE. We may later try to fix it. However it doesn't have high priority for us because jsreport studio is a tool for developers and developers normally don't use IE because there are much better options.
from jsreport-studio.
As a developer, I concur. At some of our customers where we deploy Jsreport (thru our royalty-free license), their IT departments prohibit browsers other than IE. For those sites, we will replace the "data" directory manually as described above.
from jsreport-studio.
ah I see..... and you otherwise do it manually through studio anyway? customer by customer? Maybe you could use an API rather for it?
We will try to at least estimate what it would take it to have it working in IE for the start. I see we use there FileReader.readAsArrayBuffer
which likely doesn't work there, maybe there will be a polyfill.
https://github.com/jsreport/jsreport-import-export/blob/master/studio/ImportModal.js#L33
from jsreport-studio.
Some background: Our customers are hospitals. Data security is a huge concern. Therefore, we design their reports internally using make-believe data. When their reports are ready for deployment, we securely VPN into a server on-premise at the hospital, import their reports with Jsreport Studio, and test the reports on-premise using their real patient data. If there is a problem with the report using their real data, we have Jsreport Studio already right in front of us, so we'll make the corrections there, validate they work, and export the entity changes back here. We import the changes into our internal Jsreport Studio and commit the entire data folder to our source control. That is why I bug you and your staff about how valuable jsreport-import-export is for our company. :)
In IE, the exception occurs after clicking Validate but prior to selecting the zip file to import. It is possible a polyfill may be required for readAsArrayBuffer, but the exception is much prior to that. The exception is occurring in the compiled code of React's ReactErrorUtils.js. Jsreport Studio is using React 0.14.8, but the next version after that release is 0.15.0, which doesn't have that class anymore. Hope this helps.
from jsreport-studio.
Thank you for explanation. I now see that if you anyway need to open their studio that it makes sense to import it manually right away.
I run it in debug mode now and see the real error is in
this.refs.file.dispatchEvent(new MouseEvent('click', {
'view': window,
'bubbles': false,
'cancelable': true
}));
Object doesn't support this action
Some solution like this could work... just checking it and let you know
https://stackoverflow.com/a/32889608/1660996
from jsreport-studio.
Ah, IE11 doesn't like "new MouseEvent"... there's a polyfill for MouseEvent if you use it in multiple places: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent#Polyfill
from jsreport-studio.
Thanks for that.
The importing is now fixed in [email protected]
which will be part of the upcoming [email protected]
.
There are still plenty of issues with IE, but I hope this helps you to overcome the biggest problem you had.
from jsreport-studio.
Related Issues (20)
- Save all loses focus on current tab
- Properties window for wkhtmltopdf recipe not entirely visible
- Safari/IE tab layout issue HOT 3
- Devtools warning
- Not visible scrollbar in entity tree and FF
- References to removed entities HOT 1
- Clone entity feature HOT 1
- Validate entities name prior to creation HOT 6
- cloning entities that have an extension in its name (".") should be named differently
- Too many tabs
- found vulnerabilities HOT 1
- Create entity into the root HOT 1
- Missing entity should redirect to /
- Keybord navigation in tree
- studio-extensions.client.js served with incorrect mime type HOT 18
- Cloning assets in Studio doesn't work in 2.6 HOT 3
- Download as PDF only possible from detached preview or direct download HOT 1
- Task generated report return 404 with appPath & mountOnAppPath HOT 3
- How to add a new user to JSReport Studio HOT 1
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 jsreport-studio.