Hi all,
I ran into a bug with index('item_repeat') returning the wrong value. The attached files are the xhtml script to reproduce the bug and the screen shot that illustrates the bug. Here is how to reproduce the bug. The key is to start with an initially empty list. Using the UI, the user can to add items to the list. I used <xforms:repeat> to output all the items in a list. I also used index('item_repeat') to control in which position to add a new item. After adding 3 items to the initially empty list, the index('item_repeat') function returns the wrong index value. See the attached jpg screenshot. The attached bug.xhtml can be used to reproduce this problem. You can run this script in both orbeaon 3.8 and 3.9. Both releases have this bug. Try adding 3 or 4 items to the two lists and move the focus around to different items. You'll notice the index('item_repeat') is broken for the initially empty list. Also note that if you only add 1 item you will not notice the bug. Please try adding 3 or 4 items. Any suggestion on how to work around this? I have to start with an empty list (UI requirement). I've already tried using a dummy item and marking it irrelevant to hide it. That didn't help. Thanks, James -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi guys,
Any help with this bug? This is a blocking issue for me. Thanks, James On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: > Hi all, > > I ran into a bug with index('item_repeat') returning the wrong value. > The attached files are the xhtml script to reproduce the bug and the > screen shot that illustrates the bug. > > Here is how to reproduce the bug. The key is to start with an > initially empty list. Using the UI, the user can to add items to the > list. I used <xforms:repeat> to output all the items in a list. I > also used index('item_repeat') to control in which position to add a > new item. > > After adding 3 items to the initially empty list, the > index('item_repeat') function returns the wrong index value. See the > attached jpg screenshot. > > The attached bug.xhtml can be used to reproduce this problem. You can > run this script in both orbeaon 3.8 and 3.9. Both releases have this > bug. > > Try adding 3 or 4 items to the two lists and move the focus around to > different items. You'll notice the index('item_repeat') is broken for > the initially empty list. Also note that if you only add 1 item you > will not notice the bug. Please try adding 3 or 4 items. > > Any suggestion on how to work around this? I have to start with an > empty list (UI requirement). I've already tried using a dummy item > and marking it irrelevant to hide it. That didn't help. > > > Thanks, > James > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Apparently this bug only happens for items inside of lists of list
(see the bug.xhtml). For a single list of item, it works. -James On Wed, May 4, 2011 at 1:07 PM, James Liang <[hidden email]> wrote: > Hi guys, > > Any help with this bug? This is a blocking issue for me. > > Thanks, > James > > On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: >> Hi all, >> >> I ran into a bug with index('item_repeat') returning the wrong value. >> The attached files are the xhtml script to reproduce the bug and the >> screen shot that illustrates the bug. >> >> Here is how to reproduce the bug. The key is to start with an >> initially empty list. Using the UI, the user can to add items to the >> list. I used <xforms:repeat> to output all the items in a list. I >> also used index('item_repeat') to control in which position to add a >> new item. >> >> After adding 3 items to the initially empty list, the >> index('item_repeat') function returns the wrong index value. See the >> attached jpg screenshot. >> >> The attached bug.xhtml can be used to reproduce this problem. You can >> run this script in both orbeaon 3.8 and 3.9. Both releases have this >> bug. >> >> Try adding 3 or 4 items to the two lists and move the focus around to >> different items. You'll notice the index('item_repeat') is broken for >> the initially empty list. Also note that if you only add 1 item you >> will not notice the bug. Please try adding 3 or 4 items. >> >> Any suggestion on how to work around this? I have to start with an >> empty list (UI requirement). I've already tried using a dummy item >> and marking it irrelevant to hide it. That didn't help. >> >> >> Thanks, >> James >> > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
James,
Interesting: I do reproduce this issue. I am trying to look into it. -Erik On Wed, May 4, 2011 at 11:58 PM, James Liang <[hidden email]> wrote: > Apparently this bug only happens for items inside of lists of list > (see the bug.xhtml). For a single list of item, it works. > > -James > > On Wed, May 4, 2011 at 1:07 PM, James Liang <[hidden email]> wrote: >> Hi guys, >> >> Any help with this bug? This is a blocking issue for me. >> >> Thanks, >> James >> >> On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: >>> Hi all, >>> >>> I ran into a bug with index('item_repeat') returning the wrong value. >>> The attached files are the xhtml script to reproduce the bug and the >>> screen shot that illustrates the bug. >>> >>> Here is how to reproduce the bug. The key is to start with an >>> initially empty list. Using the UI, the user can to add items to the >>> list. I used <xforms:repeat> to output all the items in a list. I >>> also used index('item_repeat') to control in which position to add a >>> new item. >>> >>> After adding 3 items to the initially empty list, the >>> index('item_repeat') function returns the wrong index value. See the >>> attached jpg screenshot. >>> >>> The attached bug.xhtml can be used to reproduce this problem. You can >>> run this script in both orbeaon 3.8 and 3.9. Both releases have this >>> bug. >>> >>> Try adding 3 or 4 items to the two lists and move the focus around to >>> different items. You'll notice the index('item_repeat') is broken for >>> the initially empty list. Also note that if you only add 1 item you >>> will not notice the bug. Please try adding 3 or 4 items. >>> >>> Any suggestion on how to work around this? I have to start with an >>> empty list (UI requirement). I've already tried using a dummy item >>> and marking it irrelevant to hide it. That didn't help. >>> >>> >>> Thanks, >>> James >>> >> > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
James,
This seems to be a client-side issue. I have entered a bug: http://forge.ow2.org/tracker/index.php?func=detail&aid=315953&group_id=168&atid=350207 -Erik On Fri, May 6, 2011 at 6:53 PM, Erik Bruchez <[hidden email]> wrote: > James, > > Interesting: I do reproduce this issue. I am trying to look into it. > > -Erik > > On Wed, May 4, 2011 at 11:58 PM, James Liang <[hidden email]> wrote: >> Apparently this bug only happens for items inside of lists of list >> (see the bug.xhtml). For a single list of item, it works. >> >> -James >> >> On Wed, May 4, 2011 at 1:07 PM, James Liang <[hidden email]> wrote: >>> Hi guys, >>> >>> Any help with this bug? This is a blocking issue for me. >>> >>> Thanks, >>> James >>> >>> On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: >>>> Hi all, >>>> >>>> I ran into a bug with index('item_repeat') returning the wrong value. >>>> The attached files are the xhtml script to reproduce the bug and the >>>> screen shot that illustrates the bug. >>>> >>>> Here is how to reproduce the bug. The key is to start with an >>>> initially empty list. Using the UI, the user can to add items to the >>>> list. I used <xforms:repeat> to output all the items in a list. I >>>> also used index('item_repeat') to control in which position to add a >>>> new item. >>>> >>>> After adding 3 items to the initially empty list, the >>>> index('item_repeat') function returns the wrong index value. See the >>>> attached jpg screenshot. >>>> >>>> The attached bug.xhtml can be used to reproduce this problem. You can >>>> run this script in both orbeaon 3.8 and 3.9. Both releases have this >>>> bug. >>>> >>>> Try adding 3 or 4 items to the two lists and move the focus around to >>>> different items. You'll notice the index('item_repeat') is broken for >>>> the initially empty list. Also note that if you only add 1 item you >>>> will not notice the bug. Please try adding 3 or 4 items. >>>> >>>> Any suggestion on how to work around this? I have to start with an >>>> empty list (UI requirement). I've already tried using a dummy item >>>> and marking it irrelevant to hide it. That didn't help. >>>> >>>> >>>> Thanks, >>>> James >>>> >>> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks Erik.
-James On Fri, May 6, 2011 at 10:45 PM, Erik Bruchez <[hidden email]> wrote: > James, > > This seems to be a client-side issue. I have entered a bug: > > http://forge.ow2.org/tracker/index.php?func=detail&aid=315953&group_id=168&atid=350207 > > -Erik > > On Fri, May 6, 2011 at 6:53 PM, Erik Bruchez <[hidden email]> wrote: >> James, >> >> Interesting: I do reproduce this issue. I am trying to look into it. >> >> -Erik >> >> On Wed, May 4, 2011 at 11:58 PM, James Liang <[hidden email]> wrote: >>> Apparently this bug only happens for items inside of lists of list >>> (see the bug.xhtml). For a single list of item, it works. >>> >>> -James >>> >>> On Wed, May 4, 2011 at 1:07 PM, James Liang <[hidden email]> wrote: >>>> Hi guys, >>>> >>>> Any help with this bug? This is a blocking issue for me. >>>> >>>> Thanks, >>>> James >>>> >>>> On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: >>>>> Hi all, >>>>> >>>>> I ran into a bug with index('item_repeat') returning the wrong value. >>>>> The attached files are the xhtml script to reproduce the bug and the >>>>> screen shot that illustrates the bug. >>>>> >>>>> Here is how to reproduce the bug. The key is to start with an >>>>> initially empty list. Using the UI, the user can to add items to the >>>>> list. I used <xforms:repeat> to output all the items in a list. I >>>>> also used index('item_repeat') to control in which position to add a >>>>> new item. >>>>> >>>>> After adding 3 items to the initially empty list, the >>>>> index('item_repeat') function returns the wrong index value. See the >>>>> attached jpg screenshot. >>>>> >>>>> The attached bug.xhtml can be used to reproduce this problem. You can >>>>> run this script in both orbeaon 3.8 and 3.9. Both releases have this >>>>> bug. >>>>> >>>>> Try adding 3 or 4 items to the two lists and move the focus around to >>>>> different items. You'll notice the index('item_repeat') is broken for >>>>> the initially empty list. Also note that if you only add 1 item you >>>>> will not notice the bug. Please try adding 3 or 4 items. >>>>> >>>>> Any suggestion on how to work around this? I have to start with an >>>>> empty list (UI requirement). I've already tried using a dummy item >>>>> and marking it irrelevant to hide it. That didn't help. >>>>> >>>>> >>>>> Thanks, >>>>> James >>>>> >>>> >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> >> > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
James,
Well what did we know: it turned out to be a server-side issue. I just fixed it. It will be in the next nightly build. https://github.com/orbeon/orbeon-forms/commit/893f5f601d52159491b6f71318d1502aa32ae3fd -Erik On Sat, May 7, 2011 at 1:22 PM, James Liang <[hidden email]> wrote: > Thanks Erik. > > -James > > On Fri, May 6, 2011 at 10:45 PM, Erik Bruchez <[hidden email]> wrote: >> James, >> >> This seems to be a client-side issue. I have entered a bug: >> >> http://forge.ow2.org/tracker/index.php?func=detail&aid=315953&group_id=168&atid=350207 >> >> -Erik >> >> On Fri, May 6, 2011 at 6:53 PM, Erik Bruchez <[hidden email]> wrote: >>> James, >>> >>> Interesting: I do reproduce this issue. I am trying to look into it. >>> >>> -Erik >>> >>> On Wed, May 4, 2011 at 11:58 PM, James Liang <[hidden email]> wrote: >>>> Apparently this bug only happens for items inside of lists of list >>>> (see the bug.xhtml). For a single list of item, it works. >>>> >>>> -James >>>> >>>> On Wed, May 4, 2011 at 1:07 PM, James Liang <[hidden email]> wrote: >>>>> Hi guys, >>>>> >>>>> Any help with this bug? This is a blocking issue for me. >>>>> >>>>> Thanks, >>>>> James >>>>> >>>>> On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: >>>>>> Hi all, >>>>>> >>>>>> I ran into a bug with index('item_repeat') returning the wrong value. >>>>>> The attached files are the xhtml script to reproduce the bug and the >>>>>> screen shot that illustrates the bug. >>>>>> >>>>>> Here is how to reproduce the bug. The key is to start with an >>>>>> initially empty list. Using the UI, the user can to add items to the >>>>>> list. I used <xforms:repeat> to output all the items in a list. I >>>>>> also used index('item_repeat') to control in which position to add a >>>>>> new item. >>>>>> >>>>>> After adding 3 items to the initially empty list, the >>>>>> index('item_repeat') function returns the wrong index value. See the >>>>>> attached jpg screenshot. >>>>>> >>>>>> The attached bug.xhtml can be used to reproduce this problem. You can >>>>>> run this script in both orbeaon 3.8 and 3.9. Both releases have this >>>>>> bug. >>>>>> >>>>>> Try adding 3 or 4 items to the two lists and move the focus around to >>>>>> different items. You'll notice the index('item_repeat') is broken for >>>>>> the initially empty list. Also note that if you only add 1 item you >>>>>> will not notice the bug. Please try adding 3 or 4 items. >>>>>> >>>>>> Any suggestion on how to work around this? I have to start with an >>>>>> empty list (UI requirement). I've already tried using a dummy item >>>>>> and marking it irrelevant to hide it. That didn't help. >>>>>> >>>>>> >>>>>> Thanks, >>>>>> James >>>>>> >>>>> >>>> >>>> >>>> -- >>>> You receive this message as a subscriber of the [hidden email] mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>>> >>>> >>> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Cool! Thanks again, I'll check it out.
-James On Mon, May 9, 2011 at 7:42 PM, Erik Bruchez <[hidden email]> wrote: > James, > > Well what did we know: it turned out to be a server-side issue. I just > fixed it. It will be in the next nightly build. > > https://github.com/orbeon/orbeon-forms/commit/893f5f601d52159491b6f71318d1502aa32ae3fd > > -Erik > > On Sat, May 7, 2011 at 1:22 PM, James Liang <[hidden email]> wrote: >> Thanks Erik. >> >> -James >> >> On Fri, May 6, 2011 at 10:45 PM, Erik Bruchez <[hidden email]> wrote: >>> James, >>> >>> This seems to be a client-side issue. I have entered a bug: >>> >>> http://forge.ow2.org/tracker/index.php?func=detail&aid=315953&group_id=168&atid=350207 >>> >>> -Erik >>> >>> On Fri, May 6, 2011 at 6:53 PM, Erik Bruchez <[hidden email]> wrote: >>>> James, >>>> >>>> Interesting: I do reproduce this issue. I am trying to look into it. >>>> >>>> -Erik >>>> >>>> On Wed, May 4, 2011 at 11:58 PM, James Liang <[hidden email]> wrote: >>>>> Apparently this bug only happens for items inside of lists of list >>>>> (see the bug.xhtml). For a single list of item, it works. >>>>> >>>>> -James >>>>> >>>>> On Wed, May 4, 2011 at 1:07 PM, James Liang <[hidden email]> wrote: >>>>>> Hi guys, >>>>>> >>>>>> Any help with this bug? This is a blocking issue for me. >>>>>> >>>>>> Thanks, >>>>>> James >>>>>> >>>>>> On Wed, May 4, 2011 at 12:36 AM, James Liang <[hidden email]> wrote: >>>>>>> Hi all, >>>>>>> >>>>>>> I ran into a bug with index('item_repeat') returning the wrong value. >>>>>>> The attached files are the xhtml script to reproduce the bug and the >>>>>>> screen shot that illustrates the bug. >>>>>>> >>>>>>> Here is how to reproduce the bug. The key is to start with an >>>>>>> initially empty list. Using the UI, the user can to add items to the >>>>>>> list. I used <xforms:repeat> to output all the items in a list. I >>>>>>> also used index('item_repeat') to control in which position to add a >>>>>>> new item. >>>>>>> >>>>>>> After adding 3 items to the initially empty list, the >>>>>>> index('item_repeat') function returns the wrong index value. See the >>>>>>> attached jpg screenshot. >>>>>>> >>>>>>> The attached bug.xhtml can be used to reproduce this problem. You can >>>>>>> run this script in both orbeaon 3.8 and 3.9. Both releases have this >>>>>>> bug. >>>>>>> >>>>>>> Try adding 3 or 4 items to the two lists and move the focus around to >>>>>>> different items. You'll notice the index('item_repeat') is broken for >>>>>>> the initially empty list. Also note that if you only add 1 item you >>>>>>> will not notice the bug. Please try adding 3 or 4 items. >>>>>>> >>>>>>> Any suggestion on how to work around this? I have to start with an >>>>>>> empty list (UI requirement). I've already tried using a dummy item >>>>>>> and marking it irrelevant to hide it. That didn't help. >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> James >>>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> You receive this message as a subscriber of the [hidden email] mailing list. >>>>> To unsubscribe: mailto:[hidden email] >>>>> For general help: mailto:[hidden email]?subject=help >>>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>>>> >>>>> >>>> >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |