Edgewall Software

Changes between Version 1 and Version 2 of Ticket #12813


Ignore:
Timestamp:
May 20, 2017, 9:31:05 AM (3 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12813

    • Property Milestone next-dev-1.3.xnext-major-releases
  • Ticket #12813 – Description

    v1 v2  
    55I seem to remember the issue coming up for other plugins as well.
    66
    7 Initially I considered adding a function `resource_from_request`. However, maybe it would make the most sense to setup a [browser:trunk/trac/web/main.py@15870#L311 callback] and make the resource available as `req.resource`?
     7I've considered adding a function `resource_from_request`. The resource realm, id, parent realm/id and version can be parsed from the URL. However, I'm unsure how to get the `resource` for a request to `/`. Any ideas?