File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
cms/templates/cms/toolbar Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
* Fixed a bug where xframe options were processed by clickjacking middleware
5
5
when page was served from cache, rather then get this value from cache
6
6
* Fixed a bug where cached page permissions overrides global permissions
7
+ * Fixed a bug where editing pages with primary keys greater than 9999 would throw an
8
+ exception.
7
9
8
10
9
11
=== 3.4.6 (2018-03-26) ===
Original file line number Diff line number Diff line change 16
16
'request' : {
17
17
'language' : '{{ request.GET.language|escape|escapejs }}' ,
18
18
'model' : '{{ request.toolbar.get_object_model }}' ,
19
- 'page_id' : '{% if request.current_page.publisher_is_draft %}{{ request.current_page.pk }}{% else %}{{ request.current_page.publisher_public_id }}{% endif %}' ,
20
- 'pk' : '{{ request.toolbar.get_object_pk }}' ,
19
+ 'page_id' : '{% if request.current_page.publisher_is_draft %}{{ request.current_page.pk|unlocalize }}{% else %}{{ request.current_page.publisher_public_id|unlocalize }}{% endif %}' ,
20
+ 'pk' : '{{ request.toolbar.get_object_pk|unlocalize }}' ,
21
21
'url' : '{% language request.toolbar.language %}{% cms_admin_url "cms_page_resolve" %}{% endlanguage %}' ,
22
22
'tree' : '{% language request.toolbar.language %}{% cms_admin_url "cms_page_changelist" %}{% endlanguage %}'
23
23
} ,
You can’t perform that action at this time.
0 commit comments