Class "FormController" not found #920

Closed
opened 2022-06-22 11:10:39 +00:00 by alexsykes · 0 comments
alexsykes commented 2022-06-22 11:10:39 +00:00 (Migrated from github.com)

Steps to reproduce the issue

Upgrade from 2.12.x -> 2.13

Expected result

Actual result

Error message 'Class "FormController" not found ' following file upload. Apparently caused by the change in the snippets in the Model class shown below. Downgrading to JCB 2.12.16 fixes the issue.

System information (as much as possible)

  • OS Name & Version: macos /
  • MySql Version: 8.0.23
  • Apache Version: 2.4.x
  • PHP Version: 8.0.18
  • Joomla Version: 3.10.10
  • JCB Version: 2.13.0 / 2.13.1
  • Browser:

Additional comments

From 2.13.1
`// No direct access to this file
defined('_JEXEC') or die('Restricted access');

use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper;

/**

  • Entryman List Model for Riderupload
    */
    class EntrymanModelRiderupload extends ListModel`

From 2.12.x
`// No direct access to this file
defined('_JEXEC') or die('Restricted access');

use Joomla\Utilities\ArrayHelper;

/**

  • Entryman Model for Riderupload
    */
    class EntrymanModelRiderupload extends JModelList
    {`
### Steps to reproduce the issue Upgrade from 2.12.x -> 2.13 ### Expected result ### Actual result Error message 'Class "FormController" not found ' following file upload. Apparently caused by the change in the snippets in the Model class shown below. Downgrading to JCB 2.12.16 fixes the issue. ### System information (as much as possible) - OS Name & Version: macos / - MySql Version: 8.0.23 - Apache Version: 2.4.x - PHP Version: 8.0.18 - Joomla Version: 3.10.10 - JCB Version: 2.13.0 / 2.13.1 - Browser: ### Additional comments From 2.13.1 `// No direct access to this file defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\MVC\Model\ListModel; use Joomla\Utilities\ArrayHelper; /** * Entryman List Model for Riderupload */ class EntrymanModelRiderupload extends ListModel` From 2.12.x `// No direct access to this file defined('_JEXEC') or die('Restricted access'); use Joomla\Utilities\ArrayHelper; /** * Entryman Model for Riderupload */ class EntrymanModelRiderupload extends JModelList {`
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#920
No description provided.