Skip to content

get_site and get_request limitations #1

@zupo

Description

@zupo

Quoting davisagli: "Regarding the calls like get_site_url() and get_request(), it's a bit misleading to say that these will always be available. It would be good to warn that the API is intended for use within code published by the ZPublisher (which sets up the necessary thread locals), as opposed to external methods or code run via bin/instance run or whatever."

We need to make a list use-cases when get_site and get_request will not work so we can put it in the documentation of the methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions