ErwinKomen / RU-collbank

0 stars 1 forks source link

VLO items: mimetype correction #88

Closed ErwinKomen closed 1 year ago

ErwinKomen commented 1 year ago

For some reason right now the mimetype in ResourceType entries turns out to be an empty string. That needs to be remedeed into application/x-http.

ErwinKomen commented 1 year ago

Actions

  1. Adapted the code in VloItemLoadXml to make really, really sure that mimetype is set properly
  2. Also adapted the code in VloItemRegister to double check before registration that the mimetype is set correctly.

Instructions

If the mimetype is found to be empty in a registered XML, then (a) re-register from the VloItem details page and (b) re-publish. Also: make sure to refresh the browser viewing this XML via Ctrl + F5