Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't add directories from plugins if partially string matches existing values #5836

@wardi

Description

@wardi

CKAN version
1.7 or so

Describe the bug
If you add a served directory that partially string matches existing values it will be ignored

Steps to reproduce

if old_ckan:
    add_template_directory(config, 'templates-for-old-ckans')
add_template_directory(config, 'templates')

Expected behavior
when old_ckan is True I expect both template directories to be in the template search path

Additional details
only the /path/to/my/extension/templates-for-old-ckans appears in the template search path

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions