Did you make `mnv clean` after switching to new version?
If it wouldn’t work, then issue is somewhere else.

> On Mar 5, 2016, at 17:05, Kanstantsin Shautsou <kanstantsin....@gmail.com> 
> wrote:
> 
> Try 1.580.3 firstly, some versions had bug but i don’t exactly remember what.
> 
>> On Mar 5, 2016, at 16:23, 'konrad' via Jenkins Developers 
>> <jenkinsci-dev@googlegroups.com <mailto:jenkinsci-dev@googlegroups.com>> 
>> wrote:
>> 
>> Thanks for your answer. I am using 1.580.1 :D I'll try 625
>> 
>> Am Freitag, 4. März 2016 21:23:14 UTC+1 schrieb Kanstantsin Shautsou:
>> What core version do you use? 1.609.X? It broken, try 1.625.3 at least.
>> 
>> On Friday, March 4, 2016 at 10:21:12 PM UTC+3, konrad wrote:
>> I am trying to use a repeatable inside a config.jelly of my jenkins plugin:
>> 
>> <?jelly escape-by-default='true'?>
>> <j:jelly xmlns:j="jelly:core" xmlns:s="/lib/samples" xmlns:f="/lib/form" 
>> xmlns:l="/lib/layout">
>>  <f:entry title="Some Title">
>>    <f:checkbox title="Enable plugin" field="isMyPluginProject"/>
>>  </f:entry>
>>  <f:block>
>>    <f:repeatable var="item" name="items" items="${instance.items}" 
>> noAddButton="true" minimum="0">
>>  <fieldset>
>>    <f:entry title="My Title" description="Project desc." field="pattern">
>>      <f:textbox value="${item.pattern}" default="" />
>>    </f:entry>
>>  </fieldset>
>>  <f:repeatableDeleteButton />
>>  </f:repeatable>
>>  </f:block>
>> </j:jelly>
>> 
>> This produces the following javascript error:
>> Uncaught TypeError: Cannot read property 'hasClassName' of undefined
>> (anonymous function) @ repeatable.js:112
>> (anonymous function) @ behavior.js:111
>> (anonymous function) @ behavior.js:107
>> Behaviour.applySubtree @ behavior.js:93
>> Behaviour.apply @ behavior.js:76
>> (anonymous function) @ behavior.js:71
>> window.onload @ behavior.js:125
>> window.onload @ behavior.js:125
>> 
>> 
>> 
>> 
>> The failing codeine is in repeatable.js line 112. It tries to find a div 
>> with  class 'repeatable-insertion-point'.
>> // do the ones that extract innerHTML so that they can get their original 
>> HTML before
>> // other behavior rules change them (like YUI buttons.)
>> Behaviour.specify("DIV.repeated-container", 'repeatable', -100, function(e) {
>>         if(isInsideRemovable(e))    return;
>> 
>>         // compute the insertion point
>>         var ip = $(e.lastChild);
>>         while (!ip.hasClassName("repeatable-insertion-point"))
>>             ip = ip.previous();
>>         // set up the logic
>>         object(repeatableSupport).init(e, e.firstChild, ip);
>> });
>> 
>> What am I doing wrong?
>> 
>> 
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Jenkins Developers" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jenkinsci-dev/NBRtnkAfDbU/unsubscribe 
>> <https://groups.google.com/d/topic/jenkinsci-dev/NBRtnkAfDbU/unsubscribe>.
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-dev+unsubscr...@googlegroups.com 
>> <mailto:jenkinsci-dev+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/34db963b-1304-4e1c-8890-5dfd9b916e0f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/34db963b-1304-4e1c-8890-5dfd9b916e0f%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4125F400-CB3D-414D-88B3-DEDEAB629143%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to