Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Repeatable field with language values disappears after save when multiple language-tagged fields exist in submission form

Đang mở
#6,103 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
angular, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

The issue does not identify a file or test, and notes that the cause may be in Angular or the backend. Start by tracing how repeatable, language-tagged submission fields are saved and rendered in the default workflow; use the reproduction steps to narrow down the failing path. Done means both values in Other Titles remain visible after saving when multiple language-tagged fields are present.

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

Mô tả

affects: 10.x affects: main bug component: submission

Describe the bug

If you have the language dropdowns activated for multiple fields in the submission workflow and create more than one value with languages assigned, the frontend won't always render all values correctly. Though I'm not completely sure, if this is actually a problem on the angular side or on the backend.

Steps to reproduce the behavior:

  1. Add the <language value-pairs-name="common_iso_languages">true</language> attribute to the dc.title.alternative field in the traditionalpageone step and the dc.description.abstract field in the traditionalpagetwo step.
  2. Set the dc.description.abstract field in the traditionalpagetwo step to repeatable: <repeatable>true</repeatable>
  3. Start a new submission by using the default workflow
  4. Add two values in the Other Titles fields by using the Add more button and choose languages for both values
  5. Add two values to the Abstract fields by using the Add more button, too and choose languages for both.
  6. Save the submission and watch how the second value of the Other Titles field vanishes.

Expected behavior

All values with assigned languages should stay visible.

Ngôn ngữ chính
TypeScript
Star
180
Fork
577
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
133

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DSpace/dspace-angular

Tất cả issue của DSpace/dspace-angular

Issue tương tự

Thêm issue về TypeScript

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.