#3545 (Summary of TasksByController fails to generate javascript urls)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Concepts sous-jacents
Commentaires
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : I committed my changes yesterday... please watch for possible side effects, also in react.
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : Experimenting with a new ActionRequest attribute "permalink_uris". Fooling Lino by setting ar.request to 123 was not nice.
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : Not finished but I need to interrupt here. Note that the lino master is now buggy because I was too quick with my commit this morning.
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : I am currently diving in deep waters near the ar.is_on_main_actor attribute. Tonis and I invented this attribute in 2017. Trying to explain it and review some doctests about it.
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : My original change was nonsense: a child must never inherit `request` from its parent. The `request` is assumed to be parsed when present. Having it set but not parsed is nonsense. So actually the behaviour of JsRenderer.obj2url() is wrong. obj2url() should not test `ar.request is None` when decidin...
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : Oops, one failure in welfare docs/specs/households.rst is maybe caused by this... investigating.
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : The test suites gave no failures... but there is some danger of side effects... maybe in printable documents.
- 6 ans, 7 mois ago by Luc Saffre about #3545 (Summary of TasksByController fails to generate javascript urls) : I made a subtle change in the logic for spawning a request : when inheriting from a parent, the `request` attribute is now always propagated (not only when the parent has no actor). This fixed the problem that the TasksByController summary panel didn't render js urls (becuase ar.obj2url() tests whet...