field-parser not applying the visibility configuration
I maintainer di solito rispondono entro 1 giorno
@AdamF42 ci sta già lavorando.
Dal 15/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
Direzione di ricerca
Start with src/app/submission/utils/visibility.util.ts and the section-visibility and submission-scope-type models it uses, then check whether the backend's SubmissionFormConverter.java still sends the visibility data in the old 9.2 format. Reproduce by setting a workflow visibility and readonly on dc.title in submission-forms.xml, then confirm whether the field is disabled. Done means the field is read-only in the submission form, or the cause is confirmed as backend-only and the issue is moved there.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When a metadata field is configured to have a limited visibility in the back-end, this configuration is not being applied in the front-end.
I noticed that there were some changes to the code related to this functionality on the front-end, but no equivalent changes were made on the back-end.
In the current front-end, the main code that applies the configuration in a given field is:
https://github.com/DSpace/dspace-angular/blob/7f59f6cf99f0d1fb4b2abe46e9f24a5e1ee01a49/src/app/submission/utils/visibility.util.ts#L19-L23
and
However, the returned data from the back-end still returns in the same format as it was in 9.2 (blame is from 8 years ago).
Therefore, I'm not sure if it is a front-end bug or a back-end (maybe a missing PR?).
To Reproduce
Steps to reproduce the behavior:
- In the back-end, edit
submission-forms.xmlby adding to some field (dc.title for example) the following config:
<visibility>workflow</visibility>
<readonly>readonly</readonly>
This should make the existing field read-only (disabled) during submission.
2. Start/restart the DSpace backend.
3. Start/edit a submission.
4. The field will still be available for editing. If you try this same configuration in DSpace 9.2, the field will be disabled (works even if you use the DSpace 10.0 backend alongside the DSpace 9.2 frontend).
Expected behavior
The visibility configuration from the back-end should reflect in the forms fields.
- Lingua principale
- TypeScript
- Stelle
- 180
- Fork
- 577
- Merge medio
- 2g 1h
- PR unite (30g)
- 100
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DSpace/dspace-angular
-
accessibility affects: 10.x affects: main bug ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DSpace/dspace-angular#6531 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility affects: 10.x affects: main bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
DSpace/dspace-angular#6530 ·
I maintainer di solito rispondono entro 1 giorno
-
Submission Form Allows Deletion of All Repeating Item EntriesForse già presa @Rowan-McKereghan l’ha presa 5 giorni fa. Apertaaffects: 8.x affects: 9.x bug component: submission
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DSpace/dspace-angular#6511 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Visual issues with qualdrop fieldsForse già presa @DanGastardelli l’ha presa 15 giorni fa. Apertaaffects: 10.x affects: 9.x bug claimed: Acervos Digitais component: submission Difficulty: Low ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
DSpace/dspace-angular#6412 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Facet headings have incorrect clickable area to expand/collapseForse già presa @jesielviana l’ha presa 12 giorni fa. Apertaaccessibility affects: 10.x affects: 8.x affects: 9.x bug ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DSpace/dspace-angular#6364 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DSpace/dspace-angular
Issue simili
-
bug parity
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
WenyuChiou/agent-board#1489 ·
I maintainer di solito rispondono entro 1 giorno
-
area: bazaar bug complexity: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
accensa/x402-facilitator-stellar#779 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue P4 size:S web-ui
Difficoltà 2/5 Mezza giornata Idoneità per principianti 85/100
josephfung/curia#2600 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
cloudflare/partykit#444 ·