Skip to content

Validator website does not properly create ad hoc session or show any status when someone uploads a file with extension TXT #558

@simon-20

Description

@simon-20

Brief Description
If someone uploads a .txt file to the Validator, using the ad hoc session functionality, the website does not properly create an ad hoc session, nor show any status for that file, but simply shows the spinning "loading" icon indefinitely.

This happens whether or not the .txt is valid IATI XML.

This may be a problem for other non-xml extensions, too.

Severity
Medium / Low

Issue Location
https://validator.iatistandard.org/

Steps to Reproduce
Upload any XML file but give it a .txt extension.

Expected Results/Behaviour
The Validator website should show an appropriate error message if a non-XML text file is uploaded.

If a valid IATI XML file is uploaded with a .txt extension, the Valdiator should at the very least provide a warning.

Actual Results/Behaviour
Spinning loading logo appears indefinitely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions