Component gets compiled in 3.1.2, after update to 3.1.19 the component doesn't get compiled.
Message when openning admin view
An error has occurred.
500 View class not found [class, file]: invitooViewinvitations, /Users/afievet/Sites/invitoo/www/administrator/components/com_invitoo/views/invitations/view.html.php
/Users/afievet/Sites/invitoo/www/libraries/src/MVC/Factory/LegacyFactory.php:85
Expected result
Working like in previous JCB versions
Actual result
Looking into the source code it appears that placeholders like ###name### are not replaced by content.
For example in the views/name/view.html.php the beginning of the file looks like
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
###DASH_VIEW_HTML_HEADER###
/**
* ###Component### View class
*/
class ###Component###View###Component### extends JViewLegacy
{
System information (as much as possible)
OS Name & Version: Mac OS Ventura
MySql Version: 5.7.39
Apache Version: 2.4.54
PHP Version: 7.4.33
Joomla Version: 3.10.11
JCB Version: 3.1.19
Browser: S, FF, Ch
Additional comments
After beeing blocked on JCB 3.1.2 according to the discussion in https://github.com/vdm-io/Joomla-Component-Builder/discussions/953
I maid the update by hand to 3.1.19.
### Step to reproduce
Component gets compiled in 3.1.2, after update to 3.1.19 the component doesn't get compiled.
Message when openning admin view
```
An error has occurred.
500 View class not found [class, file]: invitooViewinvitations, /Users/afievet/Sites/invitoo/www/administrator/components/com_invitoo/views/invitations/view.html.php
/Users/afievet/Sites/invitoo/www/libraries/src/MVC/Factory/LegacyFactory.php:85
```
### Expected result
Working like in previous JCB versions
### Actual result
Looking into the source code it appears that placeholders like ###name### are not replaced by content.
For example in the views/name/view.html.php the beginning of the file looks like
```
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
###DASH_VIEW_HTML_HEADER###
/**
* ###Component### View class
*/
class ###Component###View###Component### extends JViewLegacy
{
```
### System information (as much as possible)
- OS Name & Version: Mac OS Ventura
- MySql Version: 5.7.39
- Apache Version: 2.4.54
- PHP Version: 7.4.33
- Joomla Version: 3.10.11
- JCB Version: 3.1.19
- Browser: S, FF, Ch
### Additional comments
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
/**
* Invitoo View class
*/
class InvitooViewInvitoo extends JViewLegacy
{
I downgraded to 3.1.2 same file looks like:
```
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
/**
* Invitoo View class
*/
class InvitooViewInvitoo extends JViewLegacy
{
```
Version v3.1.24 has been released and this issue should be resolved. Test and let me know.
Version [v3.1.24](https://git.vdm.dev/joomla/pkg-component-builder/archive/v3.1.24.zip) has been released and this issue should be resolved. Test and let me know.
sorry for the delayed answer, I had a strange issue where comments like /* comment */ where tranformed in /* comment /* closing comment inverted. If I find out in which step it happened I will open an issue if it is one.
Back to the initial problem, indeed it works with the beta.
Thank you for the help and release, cheers.
sorry for the delayed answer, I had a strange issue where comments like `/* comment */` where tranformed in `/* comment /*` closing comment inverted. If I find out in which step it happened I will open an issue if it is one.
Back to the initial problem, indeed it works with the beta.
Thank you for the help and release, cheers.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
After beeing blocked on JCB 3.1.2 according to the discussion in https://github.com/vdm-io/Joomla-Component-Builder/discussions/953
I maid the update by hand to 3.1.19.
Step to reproduce
Component gets compiled in 3.1.2, after update to 3.1.19 the component doesn't get compiled.
Message when openning admin view
Expected result
Working like in previous JCB versions
Actual result
Looking into the source code it appears that placeholders like ###name### are not replaced by content.
For example in the views/name/view.html.php the beginning of the file looks like
System information (as much as possible)
Additional comments
I downgraded to 3.1.2 same file looks like:
could you try the beta-version? https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/master.zip
Since I think we have fixed this issue...
Version v3.1.24 has been released and this issue should be resolved. Test and let me know.
sorry for the delayed answer, I had a strange issue where comments like
/* comment */where tranformed in/* comment /*closing comment inverted. If I find out in which step it happened I will open an issue if it is one.Back to the initial problem, indeed it works with the beta.
Thank you for the help and release, cheers.