ietf-tools / bibxml-service

Django-based Web service implementing IETF BibXML APIs
https://bib.ietf.org
BSD 3-Clause "New" or "Revised" License
17 stars 19 forks source link

Some entries doesn't have `.xml` API URLs #281

Closed kesara closed 2 years ago

kesara commented 2 years ago

Describe the issue

Example:

Code of Conduct

strogonoff commented 2 years ago

These are cases with source data issues (that we discussed). The final step of deserialization raises validation errors, because of which we don’t end up with a properly initialized instance.

Use cases which require a properly initialized instance include BibXML serialization and xml2rfc path detection.

Sentry should have events “Failed to reverse xml2rfc URLs for item …” reported.

ronaldtse commented 2 years ago

This was fixed by @strogonoff in #282. The following screenshots confirm the fix. Thanks @strogonoff !

https://bib.ietf.org/get-bibliographic-item/?query=RFC+9000

Screen Shot 2022-08-31 at 4 13 14 PM

https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9000.xml

Screen Shot 2022-08-31 at 4 12 43 PM

https://bib.ietf.org/get-bibliographic-item/?query=I-D.li-lsr-ospfv3-srv6-extensions

Screen Shot 2022-08-31 at 4 13 49 PM

https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.draft-li-lsr-ospfv3-srv6-extensions-00.xml

Screen Shot 2022-08-31 at 4 11 55 PM