Orbeon doesn't copy xxforms:rows, xxforms:cols and xxforms:size in repeated elements

Posted by Maciej Arciuch on
URL: https://discuss.orbeon.com/Orbeon-doesn-t-copy-xxforms-rows-xxforms-cols-and-xxforms-size-in-repeated-elements-tp278234.html

Dear Orbeon authors,

I think I've spotted a bug, namely when a put e.g. a xforms:textarea with xxforms:rows and xxforms:cols attributes in a xforms:repeat element, then these attributes (actually related HTML attributes) are lost in new iterations of the repeated xxforms:textarea.

I've prepared an example simple Sandbox-compatible example, it features a xforms:textarea element with xxforms:rows and xxforms:cols attributes and a xforms:input element with xxforms:size attribute. When you click "Insert", then all new elements appear with wrong sizes:

http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml

The problem appears in Orbeon 3.7.1 and post-3.7.1:

http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml

and does not appear in Orbeon 3.6.0 (make sure you use an older browser supported by 3.6.0):

http://xmlfr.org/orbeon/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/rowscols.xml

I would appreciate it if you fixed this, best regards, Maciek