[MAGNOLIA-7396] magnolia.bootstrap.dir does not support yaml files Created: 22/Oct/18 Updated: 04/Sep/19 Resolved: 03/Sep/19 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.7.1 |
| Fix Version/s: | 5.7.5, 6.1.3, 6.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Mercedes Iruela | Assignee: | Adam Siska |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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)
|
||||||||
| Release notes required: |
Yes
|
||||||||
| Documentation update required: |
Yes
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | Support | ||||||||
| Sprint: | Maintenance & Releases | ||||||||
| Story Points: | 3 | ||||||||
| Description |
|
When YAML files are located in the directory configured by magnolia.bootstrap.dir, this content is not bootstrapped. Steps to reproduce ( in a new Magnolia bundle):
The cause seems to be in info.magnolia.importexport.Bootstrapper.getBootstrapFiles(String[], String, BootstrapFilter) where YAML files are not accepted: public boolean accept(File dir, String name) { return name.startsWith(repositoryName + ".") && filter.accept(name) && (name.endsWith(DataTransporter.XML) || name.endsWith(DataTransporter.ZIP) || name .endsWith(DataTransporter.GZ) || name.endsWith(DataTransporter.PROPERTIES)); } |