inspire-next icon indicating copy to clipboard operation
inspire-next copied to clipboard

Missing title for harvest/submission in holdingpen

Open david-caro opened this issue 7 years ago • 5 comments

When submitting a new record, using the import with doi 10.3847/1538-4357/834/1/87, the workflow entry that is created in the holdingpen shows no title, but it has actually 3 (you can see in the api).

For example: https://labs.inspirehep.net/api/holdingpen/855695

The data from the api:

"formdata": {
...
    "title": "PRIMUS: ONE- AND TWO-HALO GALACTIC CONFORMITY AT 0.2 <z< 1",
    "title_arXiv": "PRIMUS: One- and Two-Halo Galactic Conformity at $0.2 < z < 1$",
    "title_crossref": "PRIMUS: ONE- AND TWO-HALO GALACTIC CONFORMITY AT 0.2 <z< 1",
    "title_translation": "",
...
},
"metadata": {
...
    "titles": [
        {
            "source": "submitter",
            "title": "PRIMUS: ONE- AND TWO-HALO GALACTIC CONFORMITY AT 0.2 <z< 1"
        },
        {
            "source": "arXiv",
            "title": "PRIMUS: One- and Two-Halo Galactic Conformity at $0.2 < z < 1$"
        },
        {
            "source": "crossref",
            "title": "PRIMUS: ONE- AND TWO-HALO GALACTIC CONFORMITY AT 0.2 <z< 1"
        }
    ]
}

Expected Behavior

It should show the title, even if it's just the first one at least. @michamos might know better what should be there.

Current Behavior

No title is shown.

Steps to Reproduce (for bugs)

1.Submit a new record using the import function for the doi 10.3847/1538-4357/834/1/87 2. Go to the holdingpen and check the workflow entry.

Screenshot

screenshot from 2018-01-12 19-10-26

david-caro avatar Jan 12 '18 18:01 david-caro

Related to #3111

david-caro avatar Jan 15 '18 11:01 david-caro

another example: https://labs.inspirehep.net/holdingpen/1362501

ksachs avatar Dec 11 '18 16:12 ksachs

Might be caused by (unescaped) '>' or '<'.

ksachs avatar Dec 11 '18 16:12 ksachs

@harunurhan as the bug ninja, can you investigate whether this is a quick fix or something bigger to add in the backlog?

StellaCh avatar Dec 11 '18 16:12 StellaCh

I switched with @drjova for today. But I can have a look tomorrow, if it's not resolved yet.

harunurhan avatar Dec 11 '18 19:12 harunurhan