View Issue Details

IDProjectCategoryView StatusLast Update
0005291Composr testing platform / automation goals[All Projects] General / Uncategorisedpublic2024-03-30 14:23
ReporterChris GrahamAssigned ToPatrick Schmalstig 
SeverityFeature-request 
Status resolvedResolutionfixed 
Summary0005291: Write test to detect if addon files are in a _custom directory when they should not be and vice-versa
DescriptionI noticed this fix:
https://gitlab.com/composr-foundation/composr/-/commit/5da0dcc8ce90cd005d56a3f6d16aa24e137012d6

This is a case we can auto-detect.

Any bundled addon_registry hook should only have a *_custom file in the case of a hook directory's index.html or .htaccess file.

And non-bundled addon_registry hook should only have a file that is not in a *_custom directory if there is no equivalent *_custom directory. i.e. nothing with a path starting 'data/' or 'sources/' or including 'pages/modules/' or 'pages/comcode/' or 'pages/html/' or 'pages/minimodules/' or being under 'themes/*/templates/' or 'themes/*/xml/' or 'themes/*/text/' or 'themes/*/javascript/' or 'themes/*/css/' or 'themes/*/images/'.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-02-18 16:24 Chris Graham New Issue
2023-02-18 16:24 Chris Graham Status non-assigned => assigned
2023-02-18 16:24 Chris Graham Assigned To => Patrick Schmalstig
2023-02-18 23:59 Patrick Schmalstig Status assigned => resolved
2023-02-18 23:59 Patrick Schmalstig Resolution open => fixed
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised
2024-03-30 14:23 Patrick Schmalstig Project Composr alpha bug reports => Composr testing platform / automation goals