Description of the Issue
Hello,
I am experiencing an issue with the Native XML plugin when importing articles containing HTML galleys. The images embedded in these HTML galleys are dependent files. When inspecting the HTML code while reading the article, I notice that the URL in the img tag is not converted to an OJS path - it retains its original URL.
Steps to Reproduce the Issue
- On a clean OJS 3.4.0-8 installation:
- Create a journal and an issue
- Use the QuickSubmit plugin (result is the same if I submit without QuickSubmit) to create an article with a simple HTML galley as main text
- Add an image as a dependent file (referenced in the HTML galley)
- Publish the article and issue
- Verification: everything works correctly, the image displays and its URL is properly converted to OJS format
- Export the issue using the Native XML plugin
- On a new clean OJS 3.4.0-8 installation:
- Create a journal
- Import the previously generated XML file
- Result: the issue and article are created and published, HTML is present but the image is not found because its URL hasn’t been converted
Technical Environment
- OJS 3.3.0-4 in a Docker container
- Installation via GitHub - pkp/docker-ojs: Open Journal Systems (OJS) is a journal management and publishing system.
Additional Information
- The same process works perfectly on a clean OJS 3.3.0-20 installation
- In the database of the failed attempt, the file and its real path are properly recorded, but they appear to not be correctly associated with the HTML galley.
- The files (both HTML and JPG) are present on the server and stored in their correct designated directory
I would appreciate any advice or suggestions that could help me. Thanks in advance!