adobe / adobe/aem-eclipse-developer-tools

Creating new AEM Project using Wizard requires Advanced settings

Đang mở
#140 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Java
Star
37
Fork
23
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

It appears that during the creation of the new AEM Project, some of the project template variables are not being set. This causes the user to have to open up the Advanced tab and fill in the variables manually.

Steps to Reproduce (see screencap below):

1. In Eclipse 2025-09, select `File/New/Project...`
2. In the New Project dialog, select `AEM/AEM Sample Multi-module project` and hit `Next`
3. Leave the location at default and leave the Archetype at the default (archetype version 54), and hit `Next`
4. Change the name to `sample` and an error appears `group Id must be specified` even though a default group id is visible
5. Enter a `Group Id` (for example `com.github.rmcdouga` and an error appears `artifact Id must be specified` even though a default artifact id is visible
6. Enter an `Artifact Id` (for example `sample-app`) and an error appears `package must be specified`. In order to set the package, the user must expand the `Advanced` properties.
7. Enter the a `Package` value and an error appears `appId must be specified`. Enter the appId and the wizard can be move to the next screen.

Expected Behaviour:

1. Reasonable defaults should be able to be derived for all the advanced properties from the basic properties. Any mandatory advanced properties that don't have reasonable defaults or can't be derived from the basic properties should be promoted into the basic properties section. I feel a user shouldn't be required to expand the Advanced properties unless they wish to customize the generated maven project beyond the defaults.

2. Arguably, the basic properties should accept the pre-populated values or something should indicate that those prepopulated values can't be used directly (maybe make the values italisized or semi-transparent to indicate that they are not "real"). This is a minor point and doesn't prevent the wizard from being used.

Here is a screencap of the process:
![Image](https://github.com/user-attachments/assets/0ff4c43f-eb7f-4236-a2fd-d5a25e384800)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện vấn đề từ File/New/Project... bằng cách sử dụng AEM/AEM Sample Multi-module project với phiên bản archetype 54, sau đó kiểm tra cách các thuộc tính của wizard basic và Advanced được khởi tạo và xác thực. Kiểm tra các đầu vào của dự án Maven được tạo và xác nhận đã hoàn tất khi groupId, artifactId, package và appId mặc định được chấp nhận mà không mở các cài đặt Advanced.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
build-system, devtools
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.