Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,12 @@ else if (toolLsid != null &&
// Cookie expires after 1 day
final int expires = 24 * 60 * 60;

SkylineToolsStoreManager.get().recordToolDownload(tool);
// Download counter is an incidental write on a GET action — use ignoreSqlUpdates()
// to avoid the dev-mode mutating SQL assertion (like auditing writes)
try (var ignored = SpringActionController.ignoreSqlUpdates())
{
SkylineToolsStoreManager.get().recordToolDownload(tool);
}

DateFormat df = new SimpleDateFormat("EEE, dd-MMM-yyyy HH:mm:ss 'GMT'", Locale.US);
Calendar calendar = Calendar.getInstance();
Expand Down
Loading