Open athiththan11 opened 4 years ago
fixed the issue in uploading files: https://github.com/wso2/carbon-apimgt/pull/9221/
Apart from that, we don't support .md file formats in the source formats. Because we rely on the react dropzone library and it doesn't support the text/markdown content type. We will update the official docs accordingly with the supported content types.Please find the doc issue[1]
Description:
Add Document
in the Documents section of the Publisher portal is not working when trying to upload a markdown file as API documentation. There were no error messages or alerts produced in the Publisher portal, but clicking theAdd Document
button twice or thrice produces the following trace in the carbon logsThen, press
Cancel
and reloading the Documents page throws the following NPE in the carbon logsPlease find the attached Gif for reference on the flow followed (please find the high-quality recording here).
Steps to reproduce:
Documents
section and add a new document.md
typeAdd Document
and check the carbon logs (Errors)Cancel
and refresh the page and check the carbon logs (NPE)Affected Product Version: