Skip to content
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

[BUG] Registration QR image broken #562

Open
ppetersen15 opened this issue May 20, 2024 · 1 comment
Open

[BUG] Registration QR image broken #562

ppetersen15 opened this issue May 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Known Issue

Comments

@ppetersen15
Copy link

Describe the bug
Summit_Events_Instances__r.summit__Registration_QR_Code__c field does not generate the QR code and displays a broken image icon instead. I was able to create a new QR field (Registration QR Code v2) that uses a different website API to generate the QR and it was successful, so I suspect the issue is with the Google Chart API.
New QR Field formula: IF($Setup.summit__Summit_Events_Settings__c.summit__Managed_Package__c,
IMAGE('https://api.qrserver.com/v1/create-qr-code/?data=' + summit__Event__r.summit__Community_Base_URL__c + 'summit__SummitEventsRegister?instanceID=' + Id + '&size=400x400','Scan QR code to open record in mobile.',250,250),
IMAGE('https://api.qrserver.com/v1/create-qr-code/?data=' + summit__Event__r.summit__Community_Base_URL__c + 'SummitEventsRegister?instanceID=' + Id + '&size=400x400','Scan QR code to open record in mobile.',250,250) )

To Reproduce
Steps to reproduce the behavior:

  1. Go to Summit Event Instance record
  2. Scroll down to Registration section
  3. See error: broken image displayed on Registration QR Code field.

Expected behavior
QR code should appear for the Registration link.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 125.0.6422.61

Additional context

@ppetersen15 ppetersen15 added the bug Something isn't working label May 20, 2024
@rdblake21
Copy link
Contributor

Thank you for submitting the bug @ppetersen15! The QR Code is generated leveraging a Google service and we recently learned that Google stopped providing this service, thus breaking rendering of QR Codes - https://developers.google.com/chart/infographics/docs/qr_codes

We're currently working on a way to resolve this, so more to come!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Known Issue
Projects
Status: In Progress
Development

No branches or pull requests

2 participants