Opened 3 years ago
Closed 3 years ago
#1094 closed defect (fixed)
Upload file - Material gets the ID as name
Reported by: | jbenito | Owned by: | jatrzask |
---|---|---|---|
Priority: | high | Milestone: | v0.99.0 |
Component: | General | Version: | 0.98-dev |
Keywords: | Cc: |
Description
Steps to reproduce it:
- Go to any material widget. E.g.: https://indico.cern.ch/conferenceModification.py/materialsShow?confId=XXXXX
- Add a file or link to a material type that it is not in the default list (so, a custom one). Give the material type any name, for instance, let's call it 'foo'.
- Delete the resource (file or link). Important: DO NOT delete the material type, only the resource. Of course, the material type will disappear too because there was only one file inside.
- Now, add a new file or link and choose from the material type list, the type 'foo'.
- Check out the result: the new file or link was added to a material type that it is not called 'foo' but instead it's got as name the ID of the material type 'foo'.
Change History (4)
comment:1 Changed 3 years ago by jatrzask
- Owner set to jatrzask
- Status changed from new to assigned
comment:2 Changed 3 years ago by jatrzask
- Status changed from assigned to in_work
comment:3 Changed 3 years ago by jatrzask
- Status changed from in_work to awaiting_merge
comment:4 Changed 3 years ago by Jakub Trzaskoma <jakub.piotr.trzaskoma@…>
- Resolution set to fixed
- Status changed from awaiting_merge to closed
Note: See
TracTickets for help on using
tickets.
In f8ad7e565ed0c53563a51520bbdbf7eb5394feac/indico: