0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/docs/releases
Matt Westcott bf870cecd3 Gracefully handle document links with missing ID attributes in rich text
Fixes #4791
Previously, our rich text conversion functions handled the case where a document link specified an ID which is not found in the database. However, they failed with a KeyError when the id attribute was missing completely; links of this second type would occur whenever a link of the first type was re-saved from the Draftail editor. The fix is two-fold:

1) Catch the "missing ID attribute" case - in this case, the resulting link will be missing both the href and id attributes
2) Update the handling of the "ID present but document not found" case so that the id attribute survives the round-trip to the editor and back. The final link as rendered on the front-end will still be an attribute-less <a> element, but the id will be retained in the database (and in the versions rendered within rich text editors) which may be useful for troubleshooting.
2018-10-10 12:54:52 +01:00
..
0.4.1.rst
0.4.rst Fix capitalisation of names 2018-04-05 12:13:05 +01:00
0.5.rst
0.6.rst
0.7.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
0.8.1.rst
0.8.3.rst Fix spelling mistakes in documentation 2018-04-05 12:13:05 +01:00
0.8.4.rst
0.8.5.rst
0.8.6.rst
0.8.7.rst
0.8.8.rst
0.8.10.rst
0.8.rst
1.0.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
1.1.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.2.rst Reword 1.2 release note 2018-04-05 12:13:05 +01:00
1.3.1.rst
1.3.rst Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
1.4.1.rst
1.4.2.rst
1.4.3.rst
1.4.4.rst
1.4.5.rst
1.4.6.rst
1.4.rst Fix 'email notifications' link 2018-02-14 14:06:21 +00:00
1.5.1.rst
1.5.2.rst
1.5.3.rst
1.5.rst
1.6.1.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
1.6.2.rst
1.6.3.rst
1.6.rst
1.7.rst
1.8.1.rst
1.8.2.rst
1.8.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.9.1.rst
1.9.rst
1.10.1.rst
1.10.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
1.11.1.rst
1.11.rst Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
1.12.1.rst
1.12.2.rst
1.12.3.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.12.4.rst Fill in release date for 1.12.4 2018-07-04 15:36:07 +01:00
1.12.5.rst Add release notes for 1.12.5 2018-08-13 12:37:47 +01:00
1.12.6.rst Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4 2018-08-13 15:12:37 +01:00
1.12.rst Update LTS imformation 2018-03-29 14:30:27 +02:00
1.13.1.rst Fix capitalisation of QuerySet 2018-04-05 12:13:05 +01:00
1.13.2.rst Fill in release date for 1.13.2 2018-07-04 15:36:08 +01:00
1.13.3.rst Add release notes for 1.13.3 2018-08-13 12:37:47 +01:00
1.13.4.rst Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4 2018-08-13 15:12:37 +01:00
1.13.rst Update LTS imformation 2018-03-29 14:30:27 +02:00
2.0.1.rst Fill in release date for 2.0.1 2018-04-04 14:59:52 +01:00
2.0.2.rst Add release notes for 2.0.2 2018-08-13 15:12:47 +01:00
2.0.rst updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
2.1.1.rst Fill in release date for 2.1.1 2018-07-04 15:36:49 +01:00
2.1.2.rst Release notes for 2.1.2 2018-08-06 13:11:11 +01:00
2.1.3.rst Add release notes for 2.1.3 2018-08-13 15:13:05 +01:00
2.1.rst replace my name with my name 2018-07-10 11:20:28 +01:00
2.2.1.rst Release note for #4730 2018-08-13 16:31:56 +01:00
2.2.2.rst Fill in release date for 2.2.2 2018-08-29 14:15:44 +01:00
2.2.rst Fill in release date for 2.2 2018-08-10 12:17:19 +01:00
2.3.rst Gracefully handle document links with missing ID attributes in rich text 2018-10-10 12:54:52 +01:00
index.rst Release note for #4739 in 2.2.2 2018-08-21 15:14:13 +01:00
upgrading.rst Recommend the use of ManifestStaticFilesStorage. Fixes #3700 2018-09-04 12:56:11 +01:00