[Koha-bugs] [Bug 29684] Warning File not found: js/locale_data.js

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 15 15:50:07 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29684

--- Comment #3 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 128571
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128571&action=edit
Bug 29684: fix warn about not found file js/locale_data.js

Value of 'lang' unexpectedly was set to 'default', to prevent it,
the feature was added to detect 'lang' getting overlaid in template and
prevent + warn the developer about it.

To reproduce (memberentry.pl):
1) Head over to the patron details page, press edit button to open the
memberentry.pl page.
2) The error message should have appeared in your log file about
"File not found : default/js/locale_data.js".
3) Apply the patch.
4) Open the edit page again, ensure that the new error massage like
that didn't appear.

To reproduce (paycollect.pl):
1) Prepare or use some existing patron with outstanding fines, go to
the accounting section and open page where you make payment towards all
fines.
2) The error message should have appeared in your log file about
"File not found : default/js/locale_data.js".
3) Apply the patch.
4) Open the edit page again, ensure that the new error massage like
that didn't appear.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list