5.7.5.1 Underscore seperated filename parsing behaviour
Permalink
I just installed 5.7.5.1 in my local dev environment (win8.1 xampp etc).
Then I installed the package Block Designer and Block Designer Pro into this vanilla 7.5.1 install.
On attempting to use the block designer I received the message:
Class 'Concrete\Package\BlockDesigner\Src\BlockDesignerProcessor' not found
This is occurring because the relevant file is named so:
/packages/block_designer/src/block_designer_processor.php
C5 is not converting the _ delimiter in these filenames as presumably it has done in previous versions?
I renamed the file to BlockDesignerProcessor.php and all works ok.
I thought I'd flag it here (I will report to the dev as well) to ask if this is expected and also to warn anyone else who experiences the same issue.
Then I installed the package Block Designer and Block Designer Pro into this vanilla 7.5.1 install.
On attempting to use the block designer I received the message:
Class 'Concrete\Package\BlockDesigner\Src\BlockDesignerProcessor' not found
This is occurring because the relevant file is named so:
/packages/block_designer/src/block_designer_processor.php
C5 is not converting the _ delimiter in these filenames as presumably it has done in previous versions?
I renamed the file to BlockDesignerProcessor.php and all works ok.
I thought I'd flag it here (I will report to the dev as well) to ask if this is expected and also to warn anyone else who experiences the same issue.
I'm also pushing a version to be compatible with OSX and 5.7.4.x and below (as this was previously not the case). 5.7.5 and up will work too of course, 5.7.4 and below just behaved differently compared to 5.7.5!