Skip to content

Local demo data avatar path breaks File document creation #2139

@regdocs

Description

@regdocs

During Frappe Cloud site setup wizard with CRM demo data enabled, user creation fails at this point because demo user local PFP path is not being converted to an HTTP URL.

Happens for all benches with both CRM and Raven app installed when the user attempts the setup wizard with demo data.

Proposal is to sanitise it with get_url from frappe.utils first if file URL is a local path.

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