#4294 (docs/specs/projects/belref.rst fails with window.url_prefix = "None/")
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
File "docs/specs/projects/belref.rst", line 69, in belref.rst
Failed example:
test('/?ul=fr')
#doctest: +NORMALIZE_WHITESPACE -REPORT_UDIFF +ELLIPSIS
Expected:
Lino Belref demo You need to enable JavaScript to run this app.
Got:
Lino Belref demo You need to enable JavaScript to run this app. window.url_prefix = "None/";
Children
Comments
- 5 years, 2 months ago by Luc Saffre about #4294 (docs/specs/projects/belref.rst fails with window.url_prefix = "None/") : Fixed. See commit in react.
- 5 years, 2 months ago by Luc Saffre about #4294 (docs/specs/projects/belref.rst fails with window.url_prefix = "None/") : Aha: the output is obviously caused by react/lino_react/react/config/react/main.html, which says: <script type="application/javascript"> window.url_prefix = "{{ front_end.url_prefix }}/"; </script>
- 5 years, 2 months ago by Luc Saffre about #4294 (docs/specs/projects/belref.rst fails with window.url_prefix = "None/") : I have this fhis failure on my machine, but it seems that it doesn't happen on GitLab... to be observed...