field-parser not applying the visibility configuration
Los mantenedores suelen responder en 1 día
@AdamF42 ya está trabajando en esto.
Desde el 15/10/2026.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- angular, typescript
- Área
- frontend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 180
- Forks
- 577
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 100
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DSpace/dspace-angular
-
accessibility affects: 10.x affects: main bug ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DSpace/dspace-angular#6531 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
accessibility affects: 10.x affects: main bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
DSpace/dspace-angular#6530 ·
Los mantenedores suelen responder en 1 día
-
Submission Form Allows Deletion of All Repeating Item EntriesPosiblemente ocupada @Rowan-McKereghan la tomó hace 5 días. Abiertoaffects: 8.x affects: 9.x bug component: submission
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DSpace/dspace-angular#6511 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Visual issues with qualdrop fieldsPosiblemente ocupada @DanGastardelli la tomó hace 15 días. Abiertoaffects: 10.x affects: 9.x bug claimed: Acervos Digitais component: submission Difficulty: Low ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
DSpace/dspace-angular#6412 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Facet headings have incorrect clickable area to expand/collapsePosiblemente ocupada @jesielviana la tomó hace 12 días. Abiertoaccessibility affects: 10.x affects: 8.x affects: 9.x bug ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DSpace/dspace-angular#6364 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de DSpace/dspace-angular
Issues similares
-
bug parity
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
WenyuChiou/agent-board#1489 ·
Los mantenedores suelen responder en 1 día
-
area: bazaar bug complexity: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
accensa/x402-facilitator-stellar#779 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue P4 size:S web-ui
Dificultad 2/5 Medio día Aptitud para principiantes 85/100
josephfung/curia#2600 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cloudflare/partykit#444 ·