From a6c8923ea92df4d309e201ee77c9f7346b5f6a0e Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 14 Mar 2026 17:27:01 -0400 Subject: [PATCH 1/2] Fixed uncaught exception when there is no QBO connection --- app/models/qbo.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/qbo.rb b/app/models/qbo.rb index 3ef8d35..12f3aa8 100644 --- a/app/models/qbo.rb +++ b/app/models/qbo.rb @@ -27,8 +27,9 @@ class Qbo < ActiveRecord::Base # Returns the last sync time formatted for display. If no sync has occurred, returns a default message. def self.last_sync qbo = QboConnectionService.current! - return I18n.t(:label_qbo_never_synced) unless qbo&.last_sync format_time(qbo.last_sync) + rescue + return I18n.t(:label_qbo_never_synced) end private From 9fd7140e4a1ea482e95202dba985cd2c3987779e Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 14 Mar 2026 17:30:22 -0400 Subject: [PATCH 2/2] 2026.3.8 --- init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.rb b/init.rb index a89a43d..e24bd92 100644 --- a/init.rb +++ b/init.rb @@ -14,7 +14,7 @@ Redmine::Plugin.register :redmine_qbo do name 'Redmine QBO plugin' author 'Rick Barrette' description 'A pluging for Redmine to connect with QuickBooks Online to create Time Activity Entries for billable hours logged when an Issue is closed' - version '2026.3.7' + version '2026.3.8' url 'https://github.com/rickbarrette/redmine_qbo' author_url 'https://barrettefabrication.com' settings default: {empty: true}, partial: 'qbo/settings'