Closed pdpinch closed 2 years ago
@pdpinch is this right:
instructors
and metadata_contributor_list
in the parsed json, but rearrange the instructors
list to have the same order as the metadata_contributor_list
?Yes. I think that's a good plan for balancing preserving data (by including the metadata_contributor_list
) and also convenience (updating the order in instructors
).
The order of instructors in exported Plone JSON is expressed in the
metadata_contributor_list
dictionary, not ininstructors
dictionary.For example, in 20.219 the order of instructors on the legacy site is
In the legacy RAW JSON , the instructors dictionary is:
and the
metadata_contributor_list
is:Note that the
metadata_contributor_list
includes nodes that are not instructors. They should not be added to the list of Instructors.acceptance criteria
"metadata_contributor_list"
dictionary, as is, from raw json to parsed json"instructors"
dictionary based on the order in"metadata_contributor_list"
Related issues