?
avatar seanjermey
seanjermey
5 May 2017

Steps to reproduce the issue

  <field name="items" type="subform"  multiple="true"  label="Subform Field" >
    <form>
      <field name="something"  type="calendar" label="Calendar" />
    </form>
  </field>

Add the XML code above to the file components/com_content/views/article/tmpl/default.xml after this line 35 - https://github.com/joomla/joomla-cms/blob/staging/components/com_content/views/article/tmpl/default.xml#L35

Then make a new menu item of type article, go to the options tab, add a new subform instance and click the calendar button

Expected result

Calendar panel to open

Actual result

Calendar panel fails to open

avatar seanjermey seanjermey - open - 5 May 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 May 2017
avatar seanjermey seanjermey - change - 5 May 2017
Title
Fix the calendar to work in the subform field when in a menu item type declaration xml file
Fix the calendar to work in the subform field when in a menutype declaration xml file
avatar seanjermey seanjermey - edited - 5 May 2017
avatar seanjermey seanjermey - change - 5 May 2017
Title
Fix the calendar to work in the subform field when in a menutype declaration xml file
Fix the calendar to work in the subform field when in a menu item type declaration xml file
avatar seanjermey seanjermey - change - 5 May 2017
Title
Fix the calendar to work in the subform field when in a menutype declaration xml file
Fix the calendar to work in the subform field when in a menu item type declaration xml file
avatar Fedik
Fedik - comment - 5 May 2017

It seems was changed before 3.7 release in #15487

avatar tonypartridge
tonypartridge - comment - 6 May 2017

that patch is after the 3.7 release and due to be fixed in 3.7.1 I believe.

avatar Fedik
Fedik - comment - 6 May 2017

@tonypartridge I meant, it was broken in #15487, sorry for confusing 😉

avatar Fedik
Fedik - comment - 6 May 2017

@seanjermey please test #15848

avatar seanjermey
seanjermey - comment - 8 May 2017

Hi @Fedik, I have tested #15848

This resolves the issue for subform elements that exist on load, but not for newly instanced elements.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15842.

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2017
Status New Discussion
avatar Fedik
Fedik - comment - 9 May 2017

@seanjermey so, all is good for you, or you got some problem?

avatar laoneo
laoneo - comment - 9 May 2017

@seanjermey can you list the steps that we can reproduce the case where it is not working?

avatar seanjermey
seanjermey - comment - 10 May 2017

Hi @Fedik @laoneo, i have re-tested and its working, not sure what i did wrong 1st time. Probably a Monday morning thing! Thanks for resolving!

I look forward to the update so i can add the feajavascript:ture im working on!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15842.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 10 May 2017

@seanjermey if this issue is solved, please close it, thanks.

avatar seanjermey seanjermey - change - 10 May 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-05-10 08:12:41
Closed_By seanjermey
avatar seanjermey seanjermey - close - 10 May 2017

Add a Comment

Login with GitHub to post a comment