Skip to content

Keywords Vocabulary, not persisting source&identifier on submission wizard reload #11481

@jardakotesovec

Description

@jardakotesovec

Description

If I use vocabulary from plugin for keywords. I can add items from vocabulary and the vocabulary details (identifier, source) gets saved just fine. But if I don't finish that submission and get back to it later or if I just reload the submission wizard in browser. I will loose the information about identifier and source. This works correctly on the Publication->Metadata page.

Issue is probably on the form creation step, where this information is not carried over.

Steps to Reproduce

First install and enable frascati plugin, for example this one - https://github.com/asmecher/frascati
.
2. Login as Author
3. Start new Submission
4. Enter the keywords from the vocabulary (they should show up in the autocomplete) and save the form by going to the next step
5. In database (table controlled_vocab_entry_settings) they are saved with the identifier&source details
6. Reload the page with the submission wizard, save the keywords again by adding new keyword and going to the next step
7. Check the controlled_vocab_entry_settings, which has no identifier&source anymore for the initially added keywords

Expected Result

To keep the identifier&source after keyword editing in the database.

Actual Result

Only name gets saved, after returning to the submission process.

Environment Details

No response

Application Version

OJS, OMP, OPS 3.5

Logs

No response

Additional Information

No response

PRs

Stable-3.5.0

pkp-lib --> #11522
ojs --> pkp/ojs#4935 [TEST ONLY]
omp --> pkp/omp#2031 [TEST ONLY]
ops -> pkp/ops#1014 [TEST ONLY]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions