?
avatar N6REJ
N6REJ
12 Mar 2017

Steps to reproduce the issue

create a set of fields that are list type.
view the fields in admin you will see 2, one functions one doesn't.

Expected result

standard list form field
as in 3.6.x
image

Actual result

2 fields for each list field, one functional one none.
image
Also field row is NOT repeated.

System information (as much as possible)

				<field name="fontsChooser"
					   type="Repeatable"
					   icon="list"

					   label="TPL_SERENITY_FONTS_CHOOSER_LABEL"
					   description="TPL_SERENITY_FONTS_CHOOSER_DESCRIPTION"
					   select="TPL_SERENITY_FONTS_CHOOSER_SELECT"
					   default="{'Elements':['body','h1','h2','h3','h4','h5','h6','p','a','i','ol','ul','li','span.company-name','span.company-slogan'],'Function':['Body','h1','h2','h3','h4','h5','h6','Paragraph','links','i','Ordered lists','Unordered Lists','List Element','Company Name','Company Moniker'],'Font':['','','','','','','','','','','','','','',''],'Size':['','','','','','','','','','','','','','',''],'Weight':['','','','','','','','','','','','','','',''],'Style':['','','','','','','','','','','','','','',''],'Color':['','','','','','','','','','','','','','',''],'backgroundColor':['','','','','','','','','','','','','','',''],'backgroundhoverColor':['','','','','','','','','','','','','','',''],'linkColor':['','','','','','','','','','','','','','',''],'hoverlinkColor':['','','','','','','','','','','','','','','']}"
				>
					<fieldset hidden="true" name="fontsChooser_modal" repeat="true">
						<field name="Elements"
							   label="TPL_SERENITY_FONTS_ELEMENTS_LABEL"
							   description="TPL_SERENITY_FONTS_ELEMENTS_DESC"
							   class="medium-input"
							   filter="html"
							   type="text"
							   default=''
						/>
                                               <field name="Weight"
							   label="TPL_SERENITY_FONTS_WEIGHT_LABEL"
							   description="TPL_SERENITY_FONTS_WEIGHT_DESC"
							   type="list"
							   default=''
						>
							<option value=''>- Select -</option>
							<option value="normal">Normal</option>
							<option value="bold">Bold</option>
							<option value="bolder">Bolder</option>
							<option value="lighter">Lighter</option>
							<option value="100">100</option>
							<option value="200">200</option>
							<option value="300">300</option>
							<option value="500">500</option>
							<option value="600">600</option>
							<option value="800">800</option>
							<option value="900">900</option>
							<option value="initial">Initial</option>
							<option value="inherit">Inherit</option>
						</field>
						<field name="Style"
							   label="TPL_SERENITY_FONTS_STYLE_LABEL"
							   description="TPL_SERENITY_FONTS_STYLE_DESC"
							   class="small-input"
							   type="list"
							   default=''
						>
							<option value=''>- Select -</option>
							<option value="normal">Normal</option>
							<option value="italic">Italic</option>
							<option value="oblique">Oblique</option>
							<option value="initial">Initial</option>
							<option value="inherit">Inherit</option>
						</field>

</fieldset>
</field>

Additional comments

I realize repeatable is deprecated but it should still function properly at this point, per George

avatar N6REJ N6REJ - open - 12 Mar 2017
avatar wilsonge wilsonge - edited - 12 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 12 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Mar 2017
avatar wilsonge wilsonge - change - 13 Mar 2017
The description was changed
avatar wilsonge wilsonge - edited - 13 Mar 2017
avatar N6REJ
N6REJ - comment - 27 Mar 2017

@wilsonge here's the issue you asked me to file.

avatar Bakual
Bakual - comment - 27 Mar 2017

Imho it is deprecated since we never got it to work properly. It has been replaced with subforms instead.

avatar N6REJ
N6REJ - comment - 27 Mar 2017

list worked fine. Honestly, I didn't/don't have any issues with it in 3.6.5
Deprecated doesn't mean it shouldn't function like it did before.

avatar wilsonge
wilsonge - comment - 27 Mar 2017

We know that the modals inside the view never worked. But list views used to and should continue to as this is supposed to be covered by our b/c pledge

avatar wilsonge wilsonge - labeled - 27 Mar 2017
avatar Bakual
Bakual - comment - 28 Mar 2017

Of course, if it worked before it should continue to work.

avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 28 Mar 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category com_fields
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 30 Mar 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Apr 2017

i don't get this Issue, two rows are shown and editable:
bildschirmfoto 2017-04-01 um 16 49 35

System information

Joomla! 3.7.0-beta4 (nightly Build)
macOS Sierra, 10.12.4
Firefox 52 (64-bit)

MAMP 4.1.1

  • PHP 7.0.15
  • MySQLi 5.6.35
avatar Bakual
Bakual - comment - 1 Apr 2017

@franz-wohlkoenig This report isn't about custom fields. The report is a bit misleading.
It's about the "repeatable" formfield, which can be specified in a form.xml (not as custom field).

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Apr 2017

Thanks for Info @Bakual

avatar N6REJ
N6REJ - comment - 1 Apr 2017

@Bakual in this particular case its in a template if that matters.

avatar N6REJ N6REJ - change - 1 Apr 2017
The description was changed
avatar N6REJ N6REJ - edited - 1 Apr 2017
avatar N6REJ
N6REJ - comment - 1 Apr 2017

fixed by pr #15042

avatar zero-24 zero-24 - change - 1 Apr 2017
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-04-01 17:15:27
Closed_By zero-24
avatar zero-24 zero-24 - close - 1 Apr 2017
avatar zero-24
zero-24 - comment - 1 Apr 2017

Closing as there is a PR thanks for the update.

Add a Comment

Login with GitHub to post a comment