adobe / adobe/aem-project-archetype

CORSPolicyImpl.cfg caused hosted AEM instance to crash

Open
#900 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

Hi, I have been using this project to generate AEM apps, recently deploying to our Test environment caused the instance to crash.

Exact file that caused the issue `ui.config/src/main/content/jcr_root/apps/PROJECT/osgiconfig/config.author/com.adobe.granite.cors.impl.CORSPolicyImpl~PROJECT.cfg.json`

This then overwrote a file on our deployed instance, is this file 100% necessary or could it be omitted from the generator?

Contributor guide

Open the contributing guide

Research direction

Start with ui.config/src/main/content/jcr_root/apps/PROJECT/osgiconfig/config.author/com.adobe.granite.cors.impl.CORSPolicyImpl~PROJECT.cfg.json and inspect how the generator includes it in a deployed AEM project. Reproduce the Test-environment deployment if possible, then determine whether the configuration is required and what generated behavior avoids the crash or unintended overwrite.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.