Plugin Directory

Changeset 3282012


Ignore:
Timestamp:
04/25/2025 04:07:45 PM (11 months ago)
Author:
aaron13100
Message:
  • FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
Location:
404-solution
Files:
8 edited
9 copied

Legend:

Unmodified
Added
Removed
  • 404-solution/tags/2.36.9/404-solution.php

    r3281971 r3282012  
    88    Author URI:  https://www.ajexperience.com/404-solution/
    99
    10     Version: 2.36.8
     10    Version: 2.36.9
    1111
    1212    License: GPL-3.0-or-later
  • 404-solution/tags/2.36.9/CHANGELOG.md

    r3281971 r3282012  
    11# Changelog #
     2
     3## Version 2.36.9 (April 25, 2025) ##
     4* FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
    25
    36## Version 2.36.8 (April 25, 2025) ##
  • 404-solution/tags/2.36.9/README.md

    r3281971 r3282012  
    8989## Changelog ##
    9090
     91## Version 2.36.9 (April 25, 2025) ##
     92* FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
     93
    9194## Version 2.36.8 (April 25, 2025) ##
    9295* FIX: Avoid a logging issue while logging a DB error for leehodson.
  • 404-solution/tags/2.36.9/includes/Loader.php

    r3281971 r3282012  
    1111    basename(dirname(ABJ404_FILE)) . '/' . basename(ABJ404_FILE));
    1212
    13 define( 'ABJ404_VERSION', '2.36.8' );
     13define( 'ABJ404_VERSION', '2.36.9' );
    1414define( 'URL_TRACKING_SUFFIX', '?utm_source=404SolutionPlugin&utm_medium=WordPress');
    1515define( 'ABJ404_HOME_URL', 'https://www.ajexperience.com/404-solution/' . URL_TRACKING_SUFFIX);
  • 404-solution/tags/2.36.9/includes/SynchronizationUtils.php

    r2980594 r3282012  
    219219        $currentLockHolder = $this->readOwner($internalSynchronizedKey);
    220220       
    221         if ($uniqueID == $currentLockHolder) {
    222             $this->deleteOwner($uniqueID, $internalSynchronizedKey);
    223            
    224         } else {
    225             throw new Exception("Tried to release lock when you're not the owner. " .
    226                     "Synchronized key from user: " . $synchronizedKeyFromUser .
    227                     ', current lock holder: ' . $currentLockHolder .
    228                     ', requested release for lock holder: ' . $uniqueID);
    229         }
     221        if ($uniqueID == $currentLockHolder) {
     222            $this->deleteOwner($uniqueID, $internalSynchronizedKey);
     223
     224        } else {
     225            // Fail silently instead of throwing fatal exception.           
     226            $logger = ABJ_404_Solution_Logging::getInstance();
     227            $logger->debugMessage("Synchronization lock release mismatch. " .
     228                "Synchronized key: $synchronizedKeyFromUser, current holder: $currentLockHolder, " .
     229                "attempted release by: $uniqueID");
     230        }
    230231    }
    231232   
  • 404-solution/tags/2.36.9/package.json

    r3281971 r3282012  
    11{
    22  "name": "404-solution",
    3   "version": "2.36.8",
     3  "version": "2.36.9",
    44  "description": "The 404 Solution Plugin.",
    55  "main": "Gulpfile.js",
  • 404-solution/tags/2.36.9/readme.txt

    r3281971 r3282012  
    55Requires at least: 3.9
    66Tested up to: 6.8
    7 Stable tag: 2.36.8
     7Stable tag: 2.36.9
    88License: GPL-3.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9191== Changelog ==
    9292
     93= Version 2.36.9 (April 25, 2025) =
     94* FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
     95
    9396= Version 2.36.8 (April 25, 2025) =
    9497* FIX: Avoid a logging issue while logging a DB error for leehodson.
  • 404-solution/trunk/404-solution.php

    r3281971 r3282012  
    88    Author URI:  https://www.ajexperience.com/404-solution/
    99
    10     Version: 2.36.8
     10    Version: 2.36.9
    1111
    1212    License: GPL-3.0-or-later
  • 404-solution/trunk/CHANGELOG.md

    r3281971 r3282012  
    11# Changelog #
     2
     3## Version 2.36.9 (April 25, 2025) ##
     4* FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
    25
    36## Version 2.36.8 (April 25, 2025) ##
  • 404-solution/trunk/README.md

    r3281971 r3282012  
    8989## Changelog ##
    9090
     91## Version 2.36.9 (April 25, 2025) ##
     92* FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
     93
    9194## Version 2.36.8 (April 25, 2025) ##
    9295* FIX: Avoid a logging issue while logging a DB error for leehodson.
  • 404-solution/trunk/includes/Loader.php

    r3281971 r3282012  
    1111    basename(dirname(ABJ404_FILE)) . '/' . basename(ABJ404_FILE));
    1212
    13 define( 'ABJ404_VERSION', '2.36.8' );
     13define( 'ABJ404_VERSION', '2.36.9' );
    1414define( 'URL_TRACKING_SUFFIX', '?utm_source=404SolutionPlugin&utm_medium=WordPress');
    1515define( 'ABJ404_HOME_URL', 'https://www.ajexperience.com/404-solution/' . URL_TRACKING_SUFFIX);
  • 404-solution/trunk/includes/SynchronizationUtils.php

    r2980594 r3282012  
    219219        $currentLockHolder = $this->readOwner($internalSynchronizedKey);
    220220       
    221         if ($uniqueID == $currentLockHolder) {
    222             $this->deleteOwner($uniqueID, $internalSynchronizedKey);
    223            
    224         } else {
    225             throw new Exception("Tried to release lock when you're not the owner. " .
    226                     "Synchronized key from user: " . $synchronizedKeyFromUser .
    227                     ', current lock holder: ' . $currentLockHolder .
    228                     ', requested release for lock holder: ' . $uniqueID);
    229         }
     221        if ($uniqueID == $currentLockHolder) {
     222            $this->deleteOwner($uniqueID, $internalSynchronizedKey);
     223
     224        } else {
     225            // Fail silently instead of throwing fatal exception.           
     226            $logger = ABJ_404_Solution_Logging::getInstance();
     227            $logger->debugMessage("Synchronization lock release mismatch. " .
     228                "Synchronized key: $synchronizedKeyFromUser, current holder: $currentLockHolder, " .
     229                "attempted release by: $uniqueID");
     230        }
    230231    }
    231232   
  • 404-solution/trunk/package.json

    r3281971 r3282012  
    11{
    22  "name": "404-solution",
    3   "version": "2.36.8",
     3  "version": "2.36.9",
    44  "description": "The 404 Solution Plugin.",
    55  "main": "Gulpfile.js",
  • 404-solution/trunk/readme.txt

    r3281971 r3282012  
    55Requires at least: 3.9
    66Tested up to: 6.8
    7 Stable tag: 2.36.8
     7Stable tag: 2.36.9
    88License: GPL-3.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9191== Changelog ==
    9292
     93= Version 2.36.9 (April 25, 2025) =
     94* FIX: Avoid throwing an error when releasing a synchronization lock not owned by the current process, for leehodson.
     95
    9396= Version 2.36.8 (April 25, 2025) =
    9497* FIX: Avoid a logging issue while logging a DB error for leehodson.
Note: See TracChangeset for help on using the changeset viewer.