View Issue Details

IDProjectCategoryView StatusLast Update
5291Composr testing platform / automation goalsGeneral / Uncategorisedpublic2024-03-30 14:23
ReporterChris Graham Assigned ToPDStig  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary5291: 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.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

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 Not Assigned => Assigned
2023-02-18 16:24 Chris Graham Assigned To => user4172
2023-02-18 23:59 PDStig Status Assigned => Resolved
2023-02-18 23:59 PDStig Resolution open => fixed
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised
2024-03-30 14:23 PDStig Project Composr alpha bug reports => Composr testing platform / automation goals