AmruthPillai / Reactive-Resume

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
https://rxresu.me
MIT License
23.02k stars 2.42k forks source link

[Bug] Broken JSON import #1598

Open elendil7 opened 10 months ago

elendil7 commented 10 months ago

Is there an existing issue for this?

Product Variant

Cloud (http://rxresu.me)

Current Behavior

After the latest release of reactive resume, my CVs are now incorrectly formatted, and some parts are totally missing.

The problem is, its even impossible to manually fix the CV, given the limitations of the latest release. Thankfully, I do have the JSON export. But I cannot do anything with it for the time being, unless presumably I self host the previous version of ReactiveResume.

Expected Behavior

No response

Steps To Reproduce

No response

What browsers are you seeing the problem on?

No response

What template are you using?

None

Anything else?

No response

adg29 commented 8 months ago

Tangentially related, but there is a 400 response when I try to import a JSON resume. The validation step works but importing fails. The error is below.

Question but is there a documented JSON format for importing?

{
    "statusCode": 400,
    "message": "Validation failed",
    "errors": [
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                0,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                1,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                2,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                3,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                4,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                5,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                6,
                "company"
            ]
        },
        {
            "code": "too_small",
            "minimum": 1,
            "type": "string",
            "inclusive": true,
            "exact": false,
            "message": "String must contain at least 1 character(s)",
            "path": [
                "data",
                "sections",
                "experience",
                "items",
                7,
                "company"
            ]
        }
    ]
}
DonDebonair commented 5 months ago

I have the same problem. I'm trying to import a resume in JSON Resume format. The validation succeeds, but when I click the import button, it fails. The console shows the same error mentioned by @adg29

jmanhype commented 5 months ago

same