inveniosoftware / invenio-records-rest

Invenio records REST API module.
https://invenio-records-rest.readthedocs.io
MIT License
4 stars 63 forks source link

views: small fix on pass_record raise block #253

Closed egabancho closed 5 years ago

egabancho commented 5 years ago

The error matches with the title of #243 local variable 'pid' referenced before assignment but the description of that issue seems to be for something different so I didn't add the closes ...

Also, I made the PR on main-1.2 because https://invenio.readthedocs.io/en/latest/releases/maintenance-policy.html#policy

A minor release A.B (e.g. v3.0) is supported with bug and security fixes (via patch releases) until the release of A.B+2 (e.g. v3.2) and minimum one year.

Let me know if you want to change this.

egabancho commented 5 years ago

@diegodelemos Thanks!