in a new article, click "new field"
add title, selcted textfield, set to required and save
Saved new field
Error message : Component\Fields\Administrator\Table\Field' not found
Can't save
PHP Built On Windows NT HP-NOTEBOOK 10.0 build 16299 (Windows 10) i586
Database Version 5.5.5-10.1.28-MariaDB
Database Collation utf8_general_ci
Database Connection Collation utf8_general_ci
PHP Version 7.1.11
Web Server Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/7.1.11
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 4.0.0-dev Development [ Amani ] 31-March-2017 23:59 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Title |
|
Category | ⇒ | com_fields |
Title |
|
||||||
Status | New | ⇒ | Discussion |
I've identified the problem, although I'm not certain what the solution is.
I was looking through the class path to determine what was being loaded, and it occurred to me to try creating a Field.php file in /administrator/components/com_fields/Table - the path that autoload_psr4.php points to for Joomla\Component\Fields\Administrator. Within that new file I simply created a class that extended FieldTable and voila - everything worked.
So, the problem has to do with the classmap and or the class name - but I can't seem to identify where the problem is (probably because it's 5 minutes to 1AM). It's something silly, I know it.
Here's the file I created in the same directory as FieldTable.php
OK, I've solved it. I'll issue a PR shortly.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-06 07:53:28 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18920
@franz-wohlkoenig Who should be notified if the build tests are erroring out with software issues? I noted them in the PR - something about the wrong libsodium version and missing packages.
@stutteringp0et i meant calling him at your Comment
Got it. 2am is unkind to rational thought
Updated title to show it is for J4