-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include In Report Button not working properly #9
Comments
Most likely a CORS problem. See clarity-h2020/emikat#14 and clarity-h2020/data-package#31 |
Current status: |
how? |
we can set the page to the top position by execute |
Same bug also mentioned here. Problem is that the JSON:API and the Group module sometimes have troubles working together (issue described here). Most of the times this is not an issue for us, since we already have a GL-step relation to the Study group, which we can use to create the required relation between the Report image and the Study a different way (this is done via the Today someone finally found a workaround, which makes it possible to send a POST request via JSON:API to create a new Group content. I implemented the necessary function in my latest commit, but further testing is needed. Note: The proposed patch #26 in the linked issue does not solve our problem and breaks the entire Study, so it's not an option for us! |
This is fixed now. I applied the proposed patch (workaround) from here and so far I haven't detected any unwanted side-effects. |
I tried the 'include in report'-button with the new table component iframe, but it didn't work:
|
The wrong element is used by html2canvas. I should be able to fix this |
Excellent. :-) |
Since the html2canvas cannot handle iframes, the first div element of the table component should be used to create the image. So the csis helper module must ensure that a valid element will be delivered to html2canvas. If the created image does not look like expected, then it is possible that the page uses some css properties, which are not supported. An uncomplete list of supported and not supported css properties can be found here. Sometimes they can be replaced by other css properties. |
Layers from the group CLARITY Backgrounds selected on this map do not appear in the report image. This is probably caused by the fact that TLS is still not available for services.clarity-h2020.eu |
No Access-Control-Allow-Origin' header is present in the response from the wms http://services.clarity-h2020.eu:8080/geoserver/clarity/ows. So I have reopend this issue |
Again, not working on this page with FireFox 74. |
Taking screenshots works for everything expect for the CLARITY land use layers at my side. (Test with latest chrome) If i get this correctly, the wms serving CLARITY land use layers is misconfigured. Missing the Access-Control-Allow-Origin or not having TLS configured. Whatever it is, we already have another server that's working OK, so we just need the same configuration as on that one (server with hazard layers), no? Who is responsible for this server? Is it @ghilbrae ? If it's @negroscuro , I have just noticed that he isn't included in this conversation. |
Thsi should be fixed now |
@therter what is the current status? Did you test it with Firefox, too? Windows or Linux?
So probably a problem with the graphic card driver. Doesn't seem that we have any influence on that. |
This is a never ending story. I tried to make a screenshot of this map, but it's again not working: |
The position of the popup from the GetFeatureInfo request is correct now (on the dev instance), but I could not reproduce the errors on the left map. |
O.K. Thanks. |
To track down the problem, the debug log in html2canvas can be used. The problem related to the missing map layers could be resolved by updating html2canvas to the latest version and by changing some configuration options or modifying the react JS Code of the map component.
The text was updated successfully, but these errors were encountered: