-
Bug
-
Resolution: Fixed
-
Minor
-
None
AbstractItem.load and Items.load presume that File.getName on an item.getRootDir corresponds to the Item.getName. But as of JENKINS-41124 this is not true of some computed folder children, such as branch projects with various metacharacters including _. While AbstractFolder.loadChildren takes this fact into account by looking for name-utf8.txt, direct calls to onLoad from core could bypass that logic, causing the Item.name to improperly be the File.name which may be something mangled, causing bizarre behavior.
Noticed because of a bug found in CloudBees CI multibranch tests. Normally not an issue since user-level REST/CLI reload would be blocked on read-only branch projects, but SYSTEM can still reload from plugins and trigger the problem.
- is caused by
-
JENKINS-41124 Can't get a human readable job name anymore
-
- Closed
-
- links to
[JENKINS-72613] AbstractItem.doReload picks wrong name for some branch projects
Link |
New:
This issue is caused by |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Description |
New:
{{AbstractItem.load}} and {{Items.load}} presume that {{File.getName}} on an {{item.getRootDir}} corresponds to the {{Item.getName}}. But as of Noticed because of a bug found in CloudBees CI multibranch tests. |
Description |
Original:
{{AbstractItem.load}} and {{Items.load}} presume that {{File.getName}} on an {{item.getRootDir}} corresponds to the {{Item.getName}}. But as of Noticed because of a bug found in CloudBees CI multibranch tests. |
New:
{{AbstractItem.load}} and {{Items.load}} presume that {{File.getName}} on an {{item.getRootDir}} corresponds to the {{Item.getName}}. But as of Noticed because of a bug found in CloudBees CI multibranch tests. Normally not an issue since user-level REST/CLI reload would be blocked on read-only branch projects, but {{SYSTEM}} can still reload from plugins and trigger the problem. |
Remote Link | New: This issue links to "jenkins #8902 (Web Link)" [ 29456 ] |
Remote Link | New: This issue links to "cloudbees-folder-plugin #367 (Web Link)" [ 29457 ] |
Remote Link | New: This issue links to "workflow-multibranch-plugin #292 (Web Link)" [ 29458 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Released As | New: 2.444 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Closed [ 6 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: In Review [ 10005 ] |