comparison doc/upgrading.txt @ 8459:db435e272f26

fix: update updating.txt doc for user_src_input bug I originally thought it was not worth documenting because the error case had no impact. But deployed copies of the trackers can be updated to reduce differences between deployed and distributed files.
author John Rouillard <rouilj@ieee.org>
date Fri, 26 Sep 2025 16:08:30 -0400
parents 14c7c07b32d8
children ed4ef394d5d6
comparison
equal deleted inserted replaced
8458:15a92b0a9b79 8459:db435e272f26
174 <https://docs.python.org/3/library/logging.config.html#logging.config.dictConfig>`_. The 174 <https://docs.python.org/3/library/logging.config.html#logging.config.dictConfig>`_. The
175 JSON file format as been enhanced to support comments that are 175 JSON file format as been enhanced to support comments that are
176 stripped before being processed by the logging system. 176 stripped before being processed by the logging system.
177 177
178 You can read about the details in the :ref:`admin manual <dictLogConfig>`. 178 You can read about the details in the :ref:`admin manual <dictLogConfig>`.
179
180 Fix user.item.html template producing invalid Javascript (optional)
181 -------------------------------------------------------------------
182
183 The html template ``page.html`` in the classic, devel, minimal, and
184 responsive tracker templates define a ``user_src_input`` macro. This
185 macro produces invalid javascript for the ``onblur`` event when used
186 by ``user.item.html``. The only effect from this bug is a javascript
187 error reported in the user's browser when the user does not have edit
188 permissions on the page. It doesn't have any user visible impact.
189
190 If you want to fix this, replace::
191
192 tal:attributes="onblur python:edit_ok and 'split_name(this)';
193
194 with::
195
196 tal:attributes="onblur python:'split_name(this)' if edit_ok else '';
197
198 in the ``html/page.html`` file in your tracker.
179 199
180 .. index:: Upgrading; 2.4.0 to 2.5.0 200 .. index:: Upgrading; 2.4.0 to 2.5.0
181 201
182 Migrating from 2.4.0 to 2.5.0 202 Migrating from 2.4.0 to 2.5.0
183 ============================= 203 =============================

Roundup Issue Tracker: http://roundup-tracker.org/