diff -rupN module.orig/Projects/src/Projects/Model/Project.php module/Projects/src/Projects/Model/Project.php --- module.orig/Projects/src/Projects/Model/Project.php 2016-06-27 10:08:02.000000000 +0000 +++ module/Projects/src/Projects/Model/Project.php 2016-06-27 10:08:17.000000000 +0000 @@ -815,7 +815,7 @@ class Project extends AbstractKey if ($path[0] != '"' || substr($path, -1) != '"') { $path = '"' . $path . '"'; } - $paths[] = $path; + $paths[] = strtolower($path); } $maps[] = array( @@ -828,7 +828,7 @@ class Project extends AbstractKey // if we can cheaply query the common path (won't work on shelved changes) // remove any projects/branches which clearly won't be affected - $path = $change->isSubmitted() ? $change->getPath(false) : null; + $path = $change->isSubmitted() ? strtolower($change->getPath(false)) : null; if ($path) { $pathMap = new \P4_Map((array) $path); foreach ($maps as $key => $map) { @@ -884,7 +884,7 @@ class Project extends AbstractKey // remove the trailing '#rev action' text and see which // project/branch maps this file fits under (if any) - $file = substr($data, 0, strrpos($data, '#')); + $file = strtolower(substr($data, 0, strrpos($data, '#'))); foreach ($maps as $key => $map) { // if the map includes this file add the project/branch to affected and // remove this map so we don't waste time on future files checking it
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19977 | jason_leonard |
Adding latest patches for Swarm 2016.1 Adding: Client reset patch for ClientPool to prevent exception with dirty client. Adding: Lock review update patch for preventing a race condition whilst Swarm updates or creates a review. Adding: Workers no tasks log patch for removing a "no tasks in queue" message whilst capturing debug logs. Updating: moderators email patch for allowing moderators to receive review change emails. Updating: projects caseinsensivie matching patch to workaround P4PHP case sensitivity issues when selecting a change's project. |