Clean install of Joomla
Create a plugin to add extra fields with a subform
Add a new row to the subform
An additional row without JavaScript errors
The new row is added, but with a javascript error:
PHP Built On Windows NT BURO26-JESPER 6.2 build 9200 (Windows 8 Professional Edition) i586
Database Version 5.5.5-10.1.10-MariaDB
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 5.6.19
Web Server Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.19
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.7.0 Stable [ Amani ] 25-April-2017 15:36 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/58.0.3029.110 Safari/537.36
This occurs in all browsers
xml of plugin:
extravelden.xml
<field name="imgSelector" type="subform" multiple="true" formsource="plugins/content/extravelden/form/imgselector.xml" description="Selecteer afbeeldingen en info zoals titel, subtitel en omschrijving." label="Selecteer afbeeldingen en info" layout="joomla.form.field.subform.repeatable-table"
>
imgselector.xml
<field name="multiple_img_image" type="media" label="Afbeelding" /> <field name="multiple_img_title" type="text" label="Afbeelding titel" />
If needed i can create a plugin with a subform, but im thinking someone has that standing ready?
The javascirpt error is a problem because i want to fill the subform row with javascirpt.
Labels |
Added:
?
|
Title |
|
Title |
|
Category | ⇒ | com_fields JavaScript |
Title |
|
Build | staging | ⇒ | 3.7.0 |
no, thats to prevent the browser from hiding the tag :)
installer for the plugin:
extravelden.zip
After installing and enabling that plugin, I get a 404 error on a missing JS file
http://joomla-cms/media/plg_extravelden/multipleFiles.js 404 (Not Found)
And then when going to edit an article I get
Unknown column 'isproject' in 'field list'
I cannot replicate the error you are reporting with the plugin provided in Joomla 3.7.1
Title |
|
Status | New | ⇒ | Discussion |
The missing JS is not relevant, Could u try it with a new article.
I'll cleanup the plugin in the meanwhile
When I try to create a new article I get nothing but an error on the page!
Unknown column 'isproject' in 'field list'
Ah oke, i tested it and it seemed to work, ill upload the new plugin in a sec
I gonna test it 3.71 to
Joomla! Version Joomla! 3.7.0 Stable [ Amani ] 25-April-2017 15:36 GMT
Please download and test Joomla 3.7.1 RC 2 (or wait a few hours and test Joomla 3.7.1)
Just updated to 3.7.1 - RC2, the error doesn't seem te persist here.
I'll update the live in a few hours and get back here with the result
I'll update the live in a few hours and get back here with the result
Please install on the live site the 3.7.1 package to be release on 14:00 UTC as this is a important sec release and not the RC as the RC does not include the sec paches!
The subform
formfield type doesn't work with com_fields. That is true, That is why this field type doesn't exist in core.
So if you create a plugin to implement that field type, you need to solve this in your plugin.
I installed the just released 3.7.1 version of joomla. and i can confirm this problem is fixed.
Thanks for your time!
Title |
|
||||||
Status | Discussion | ⇒ | Closed | ||||
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-17 14:16:49 | ||||
Closed_By | ⇒ | Bakual |
is
<f-orm>
a typo?Can you provide the whole installable plugin to save time for people trying to replicate the issue?