#554: "Last Login" does not update ------------------------+----------------------- Reporter: rjollos | Owner: rjollos Type: defect | Status: accepted Priority: critical | Milestone: Release 6 Component: dashboard | Version: 0.5.3 Resolution: | Keywords: ------------------------+----------------------- Changes (by rjollos):
* owner: nobody => rjollos * status: new => accepted Old description: > The //Last Login// column in the Users table under Admin > Accounts > > Users doesn't update correctly on login. Inspection of the database shows > that the `last_visit` field isn't updating, though it does update > correctly on login in the default Trac with !AccountManagerPlugin and > HtPasswd authentication. More investigation is needed, but debugging so > far has revealed that > [http://trac.edgewall.org/browser/tags/trac-1.0.1/trac/web/session.py?marks=121#L98 > Session._new] is `False` under conditions that it is `True` in the > "default" setup, resulting in `Session._last_visit` not getting updated. > It looks like the problem is somewhere in the `trac.web.main`, > `trac.hooks` or `trac.web.session` modules, all of which are involved in > request handling and dispatching, and where modifications have been made > for multi-product support. New description: The //Last Login// column in the Users table under Admin > Accounts > Users doesn't update correctly on login. Inspection of the database shows that the `last_visit` field isn't updating, though it does update correctly on login in the default Trac with !AccountManagerPlugin and !HtPasswd authentication. More investigation is needed, but debugging so far has revealed that [http://trac.edgewall.org/browser/tags/trac-1.0.1/trac/web/session.py?marks=121#L98 Session._new] is `False` under conditions that it is `True` in the "default" setup, resulting in `Session._last_visit` not getting updated. It looks like the problem is somewhere in the `trac.web.main`, `trac.hooks` or `trac.web.session` modules, all of which are involved in request handling and dispatching, and where modifications have been made for multi-product support. -- -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/554#comment:2> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker