@@ -13,6 +13,56 @@ steps.
1313
1414.. contents::
1515
16+ Migrating from 1.4.x to 1.4.9
17+ =============================
18+
19+ Fix the "remove" button in issue files and messages lists
20+ ---------------------------------------------------------
21+
22+ The "remove" button(s) in the issue messages list needs to be altered. Find
23+ the following in your tracker's ``html/issue.item.html`` template::
24+
25+ <td>
26+ <form style="padding:0" tal:condition="context/is_edit_ok"
27+ tal:attributes="action string:issue${context/id}">
28+ <input type="hidden" name="@remove@files" tal:attributes="value file/id">
29+
30+ and add ``method="POST"`` as shown below::
31+
32+ <td>
33+ <form style="padding:0" method="POST" tal:condition="context/is_edit_ok"
34+ tal:attributes="action string:issue${context/id}">
35+ <input type="hidden" name="@remove@files" tal:attributes="value file/id">
36+
37+ Then also find::
38+
39+ <td>
40+ <form style="padding:0" tal:condition="context/is_edit_ok"
41+ tal:attributes="action string:issue${context/id}">
42+ <input type="hidden" name="@remove@messages" tal:attributes="value msg/id">
43+
44+ and add ``method="POST"`` as shown below::
45+
46+ <td>
47+ <form style="padding:0" method="POST" tal:condition="context/is_edit_ok"
48+ tal:attributes="action string:issue${context/id}">
49+ <input type="hidden" name="@remove@messages" tal:attributes="value msg/id">
50+
51+
52+ Fixing the "retire" button in user management list
53+ --------------------------------------------------
54+
55+ If you made the change to the "reture" link in the user management list as
56+ listed below in `Migrating from 1.4.x to 1.4.7`_ then you'll need to fix that
57+ change by adding ``method="POST"`` to the ``<form>`` tag::
58+
59+ <form style="padding:0" method="POST"
60+ tal:attributes="action string:user${user/id}">
61+ <input type="hidden" name="@template" value="index">
62+ <input type="hidden" name="@action" value="retire">
63+ <input type="submit" value="retire" i18n:attributes="value">
64+ </form>
65+
1666
1767Migrating from 1.4.x to 1.4.7
1868=============================
@@ -53,7 +103,7 @@ The "retire" link found in the file ``html/users.index.html``::
53103Should be replaced with::
54104
55105 <td tal:condition="context/is_retire_ok">
56- <form style="padding:0"
106+ <form style="padding:0" method="POST"
57107 tal:attributes="action string:user${user/id}">
58108 <input type="hidden" name="@template" value="index">
59109 <input type="hidden" name="@action" value="retire">
0 commit comments