Summit-Events-App icon indicating copy to clipboard operation
Summit-Events-App copied to clipboard

[BUG] Registration QR image broken

Open ppetersen15 opened this issue 1 year ago • 1 comments

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 avatar May 20 '24 14:05 ppetersen15

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!

rdblake21 avatar May 21 '24 21:05 rdblake21

Included in beta release 0.36.0.5

tcdahlberg avatar May 21 '25 19:05 tcdahlberg

Included in production release 0.36.0.5

tcdahlberg avatar May 22 '25 22:05 tcdahlberg