The current guide will teach you how to solve the disappearing QR codes problem when you turn off your Internet connection.
Description of the problem
The problem appears to the Issue cards predefined Reporter plugin template. It is free for using and could be downloaded from here (in the bottom of the page). The template itself looks like this:
Everything is working fine until you turn off your Internet connection and try to export the issues while you are offline. Then the QR codes are not appearing in the report.
Solution
Actually, it is not a bug. The error happens because we use external (non-Redmine) JS in the template. If you use Redmine offline and still would like the QR codes to be visible in your reports, then please do the below steps:
Copy
Copy the downloaded files to redmine/public/javascripts/ folder.
Change
Change urls in template:
- https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js ---> https://REDMINE_URL/javascripts/jquery.min.js
- https://cdnjs.cloudflare.com/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js ---> https://REDMINE_URL/javascripts/jquery.qrcode.min.js
Apply the changes
Thereafter, the server will use local files instead of CDN and should display the QR codes correctly without an Internet connection.