[MAGNOLIA-1541] bootstrap: ordering files by filename length isnt always very nice Created: 21/May/07 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 3.0.2, 3.1 M1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Sameer Charles |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
Consider the following bootstrap files: config.modules.test.templates.babababababababababba.xml With the current BootstrapFilesComparator, they will be ordered, bootstrapped and appear in the tree in the following order: std, redir, utility, mail-form, tralalalala and babababababababababba, which admitedly doesn't make much sense. The reason why the files are ordered by length is an easy hack to bootstrap parent files first (ie config.modules.test.templates.xml would be bootstrapped before any of the above) I added BootstrapFilesComparatorTest.testFilesAreOrderedByFileNameLength() to illustrate some of these issues. |
| Comments |
| Comment by Philipp Bracher [ 22/May/07 ] |
|
thoughts:
workaround:
|
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |