#6241 (SW says "Bad request" on the detail of the home page)
35 · by Luc Saffre · in Developers · assigned to Sharif Mehedi
Summary
And the "Children" and "Translations" panels are empty although they shouldn't. And the JS console reports two Ajax requests to synodalworld.org/admin/undefined?dm=detail& with 404 responses.
Children
Comments
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : Hehe! together we found the explanation: store.py was testing "if settings.SITE.default_ui == "lino_react.react"". I then pushed my little change in kernel.py so that this test can become "if settings.SITE.primary_front_end.support_async".
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : I had a look at settings.py and the virtualenv, but I see no possible cause.
- 1 year, 2 months ago by Sharif Mehedi about #6241 (SW says "Bad request" on the detail of the home page) : In synodalworld.org, for Children and Translations (slaves in publisher.Pages detail view.) lino is somehow returning the html value instead of a delayed_value_url. Wondering why this does NOT happen locally.
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : Probably the same problem happens when I open the detail of a ticket.
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : I increased priority because it disturbs us: i could not delete the "Propaganda" page, probably because it has 2 translations, which I must delete first, but I can't do this because I don't even see them because the "Translations" panel is empty.
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : I think I should have a look this with you @8lurry, right now I'm out of ideas. Where do these invalid links come from? I suppose from renderer.get_detail_url(). But why is pk set to "undefined"?
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : I couldn't reproduce this in noi2.
- 1 year, 2 months ago by Luc Saffre about #6241 (SW says "Bad request" on the detail of the home page) : Created new Ticket #6241 (SW says "Bad request" on the detail of the home page).