Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
212
stars
142
forks
source link
Rework webpack filepath to allow symlinks and remove character combin… #11014
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description of Change
Reworked the webpack file lookup logic to avoid using any special character combinations in the path that were causing issues, and updated so symlinks to outside files can be properly resolved.
Issues Solved
Closes #10791
Checklist
I targeted one of these branches:
[ ] dev/7.6.x (under development): features, bugfixes not covered below
[x] dev/7.5.x (main support): regressions, crashing bugs, security issues, major bugs in new features
[ ] dev/6.2.x (extended support): major security issues, data loss issues
[ ] I added a changelog in arches/releases
[ ] I submitted a PR to arches-docs (if appropriate)
[ ] Unit tests pass locally with my changes
[ ] I added tests that prove my fix is effective or that my feature works
Have not done any ancillary work to complete this PR. Submitting for feedback.
Collapsed JS, Template and Image file lookup functions into a single function as most of the logic was the same. Didn't make changes to the vue lookup function as I don't have any vue components to test against.
…ation collision issues (eg js)
Types of changes
Description of Change
Reworked the webpack file lookup logic to avoid using any special character combinations in the path that were causing issues, and updated so symlinks to outside files can be properly resolved.
Issues Solved
Closes #10791
Checklist
Accessibility Checklist
Developer Guide
Ticket Background
Further comments
Have not done any ancillary work to complete this PR. Submitting for feedback. Collapsed JS, Template and Image file lookup functions into a single function as most of the logic was the same. Didn't make changes to the vue lookup function as I don't have any vue components to test against.