Reference to variable created in repeat group returns value only from first iteration, not current iteration

32 views
Skip to first unread message

Mark Schreiner

unread,
Jan 10, 2021, 7:32:21 PM1/10/21
to Ona Community
When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.

This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.

I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).

I enclose a series of print-screens showing the unexepected behavior.

Any suggestions?

Mark
ScorocsUGA003-09-Ona-Community_forum.xls
Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf

Samson from Ona

unread,
Jan 11, 2021, 12:54:06 AM1/11/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

Samson Samson from Ona
--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom

ma...@microfinance.com

unread,
Jan 11, 2021, 9:40:52 AM1/11/21
to ona-co...@googlegroups.com

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

 

Kind regards,

 

Mark

 

From: 'Samson from Ona' via Ona Community
Sent: Sunday, January 10, 2021 11:54 PM
To: ona-co...@googlegroups.com
Subject: Re: [ona-community] Reference to variable created in repeat group returns value only from first iteration, not current iteration

 

Image removed by sender.

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

Image removed by sender. Samson

Samson from Ona

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.

 

This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.

 

I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).

 

I enclose a series of print-screens showing the unexepected behavior.

 

Any suggestions?

 

Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.

Image removed by sender. Attachments icon

ScorocsUGA003-09-Ona-Community_forum.xls

Image removed by sender. Attachments icon

Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf

Image removed by sender. intercomImage removed by sender.

--
Collect, Analyze and Share Data - https://ona.io/
---

You received this message because you are subscribed to a topic in the Google Groups "Ona Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ona-community/98XzEjORfrU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/1a156371-137c162f-1610344444-63366200024487%40ona.intercom-mail-400.com.

image001.jpg
image002.jpg
image003.jpg

Samson from Ona

unread,
Jan 12, 2021, 4:20:38 AM1/12/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.
I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

Samson Samson from Ona
On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.


This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.


I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).


I enclose a series of print-screens showing the unexepected behavior.


Any suggestions?


Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom

Mark Schreiner

unread,
Feb 21, 2021, 1:27:01 PM2/21/21
to Ona Community
Has Ona updated to ODK enketo version (V2.6) yet?

Samson from Ona

unread,
Feb 22, 2021, 7:49:41 AM2/22/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

Currently, Ona is using Enketo version 2.5.6. However, the issue you were facing was not really related to Enketo version but the version of PyXform we are using. Our technical team has already prepared a release that uses the latest PyXform version which is still in the testing phase on our stage environment.
We will notify you once this deployed will be scheduled on before the end of the week.

Regards

Samson Samson from Ona
On Sun, Feb 21, 2021 at 12:27 PM, "Mark" <ma...@microfinance.com> wrote:

Has Ona updated to ODK enketo version (V2.6) yet?

On Tue, Jan 12, 2021 at 03:20 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.


I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.


This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.


I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).


I enclose a series of print-screens showing the unexepected behavior.


Any suggestions?


Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom

Samson from Ona

unread,
Mar 11, 2021, 3:17:37 AM3/11/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

We have deployed the latest version of Enketo and PyXform and this has solved the issue with pulling data in a repeat group. Please test and let us know if you have further questions.

Regards,
Samson

See our community forum & help site for more information!

Samson Samson from Ona
On Mon, Feb 22, 2021 at 06:49 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Currently, Ona is using Enketo version 2.5.6. However, the issue you were facing was not really related to Enketo version but the version of PyXform we are using. Our technical team has already prepared a release that uses the latest PyXform version which is still in the testing phase on our stage environment.


We will notify you once this deployed will be scheduled on before the end of the week.

Regards

On Sun, Feb 21, 2021 at 12:27 PM, "Mark" <ma...@microfinance.com> wrote:

Has Ona updated to ODK enketo version (V2.6) yet?

On Tue, Jan 12, 2021 at 03:20 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.


I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.


This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.


I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).


I enclose a series of print-screens showing the unexepected behavior.


Any suggestions?


Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom

ma...@microfinance.com

unread,
Mar 11, 2021, 10:11:15 AM3/11/21
to ona-co...@googlegroups.com

Dear Samson:

 

I have tested, but the problem remains. I tested with a number of forms, and they all still have the issue. Cleared cache, reloaded, tried on both Firefox and Chrome, still the issue remains.

I also attempted to replace the xlsform (in case it needs to be rerun through pyxform to fix the issue), but even though the file I am uploading is .xls, I get the error message: “Invalid title value; value shouldn't match a URL. Your file should have the .xls .xlsx, .xml file extension because Ona uses XLS Forms to create forms.” So perhaps this error needs to be fixed before I can truly test.

Please see three enclosed print-screens.

If you have any instructions that would be helpful for someone who does not work with Ona every day beyond “test”?. What browser to use? What version of the browser? Do I need to run the form through Pyxform anew so that whatever was updated there can affect my xlsform?

Kind regards,

Mark

 

 

From: 'Samson from Ona' via Ona Community
Sent: Thursday, March 11, 2021 2:18 AM
To: ona-co...@googlegroups.com
Subject: Re: [ona-community] Reference to variable created in repeat group returns value only from first iteration, not current iteration

 

Image removed by sender.

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

We have deployed the latest version of Enketo and PyXform and this has solved the issue with pulling data in a repeat group. Please test and let us know if you have further questions.

Regards,
Samson

See our community forum & help site for more information!

Image removed by sender. Samson

Samson from Ona

On Mon, Feb 22, 2021 at 06:49 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Currently, Ona is using Enketo version 2.5.6. However, the issue you were facing was not really related to Enketo version but the version of PyXform we are using. Our technical team has already prepared a release that uses the latest PyXform version which is still in the testing phase on our stage environment.
We will notify you once this deployed will be scheduled on before the end of the week.

Regards

On Sun, Feb 21, 2021 at 12:27 PM, "Mark" <ma...@microfinance.com> wrote:

Has Ona updated to ODK enketo version (V2.6) yet?

On Tue, Jan 12, 2021 at 03:20 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.
I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

Image removed by sender. Attachments icon

image001.jpg

Image removed by sender. Attachments icon

image002.jpg

Image removed by sender. Attachments icon

image003.jpg

On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.

 

This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.

 

I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).

 

I enclose a series of print-screens showing the unexepected behavior.

 

Any suggestions?

 

Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.

Image removed by sender. Attachments icon

ScorocsUGA003-09-Ona-Community_forum.xls

Image removed by sender. Attachments icon

Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf

Image removed by sender. intercomImage removed by sender.

--

Collect, Analyze and Share Data - https://ona.io/
---

You received this message because you are subscribed to a topic in the Google Groups "Ona Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ona-community/98XzEjORfrU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/8636e215-64d6c973-1615450653-63366200024487%40ona.intercom-mail-200.com.

image001.jpg
image002.jpg
image003.jpg
Step-1-Specify-xls-FIle-to-Replace-Current-Form-So-As-To-Run-Through-Updated-Pyxform.pdf
Step-2-xls-Form-Uploading.pdf
Step-3-Ona-Throws-Error-Because-Incorrectly-Thinks-xls-file-is-URL.pdf

Samson from Ona

unread,
Mar 12, 2021, 3:04:04 AM3/12/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

Apologies for the inconvenience this has caused you. After the upgrade, it seems that there is a new validation that was added where the system does not allow form title with URL characters such as / or : or . Please remove these characters only from form you downloaded from Ona and replace the one existing for the fix to be effected on the form.
Let me know if this does not solve the issue.
I will be happy to arrange for a call.

Regards,

Samson

Samson Samson from Ona
On Thu, Mar 11, 2021 at 09:11 AM, "Mark" <ma...@microfinance.com> wrote:

Dear Samson:

I have tested, but the problem remains. I tested with a number of forms, and they all still have the issue. Cleared cache, reloaded, tried on both Firefox and Chrome, still the issue remains.

I also attempted to replace the xlsform (in case it needs to be rerun through pyxform to fix the issue), but even though the file I am uploading is .xls, I get the error message: “Invalid title value; value shouldn't match a URL. Your file should have the .xls .xlsx, .xml file extension because Ona uses XLS Forms to create forms.” So perhaps this error needs to be fixed before I can truly test.

Please see three enclosed print-screens.

If you have any instructions that would be helpful for someone who does not work with Ona every day beyond “test”?. What browser to use? What version of the browser? Do I need to run the form through Pyxform anew so that whatever was updated there can affect my xlsform?

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
Attachments icon Step-1-Specify-xls-FIle-to-Replace-Current-Form-So-As-To-Run-Through-Updated-Pyxform.pdf
Attachments icon Step-2-xls-Form-Uploading.pdf
Attachments icon Step-3-Ona-Throws-Error-Because-Incorrectly-Thinks-xls-file-is-URL.pdf
On Thu, Mar 11, 2021 at 02:17 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

We have deployed the latest version of Enketo and PyXform and this has solved the issue with pulling data in a repeat group. Please test and let us know if you have further questions.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Feb 22, 2021 at 06:49 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Currently, Ona is using Enketo version 2.5.6. However, the issue you were facing was not really related to Enketo version but the version of PyXform we are using. Our technical team has already prepared a release that uses the latest PyXform version which is still in the testing phase on our stage environment.


We will notify you once this deployed will be scheduled on before the end of the week.

Regards

On Sun, Feb 21, 2021 at 12:27 PM, "Mark" <ma...@microfinance.com> wrote:

Has Ona updated to ODK enketo version (V2.6) yet?

On Tue, Jan 12, 2021 at 03:20 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.


I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.


This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.


I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).


I enclose a series of print-screens showing the unexepected behavior.


Any suggestions?


Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom

ma...@microfinance.com

unread,
Oct 18, 2021, 11:11:14 AM10/18/21
to ona-co...@googlegroups.com

Dear Samson:

 

The same error as below is coming up again today. Note that I also get it when trying to upload forms that uploaded fine (with no changes) two weeks ago. The file extension is .xls. Could this again be some issue with Enketo/pxyform?

 

Please check and let me know.

 

Mark

 

From: 'Samson from Ona' via Ona Community
Sent: Friday, March 12, 2021 02:04 AM
To: ona-co...@googlegroups.com
Subject: Re: [ona-community] Reference to variable created in repeat group returns value only from first iteration, not current iteration

 

Image removed by sender.

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

Apologies for the inconvenience this has caused you. After the upgrade, it seems that there is a new validation that was added where the system does not allow form title with URL characters such as / or : or . Please remove these characters only from form you downloaded from Ona and replace the one existing for the fix to be effected on the form.
Let me know if this does not solve the issue.
I will be happy to arrange for a call.

Regards,

Samson

Image removed by sender. Samson

Samson from Ona

On Thu, Mar 11, 2021 at 09:11 AM, "Mark" <ma...@microfinance.com> wrote:

Dear Samson:

I have tested, but the problem remains. I tested with a number of forms, and they all still have the issue. Cleared cache, reloaded, tried on both Firefox and Chrome, still the issue remains.

I also attempted to replace the xlsform (in case it needs to be rerun through pyxform to fix the issue), but even though the file I am uploading is .xls, I get the error message: “Invalid title value; value shouldn't match a URL. Your file should have the .xls .xlsx, .xml file extension because Ona uses XLS Forms to create forms.” So perhaps this error needs to be fixed before I can truly test.

Please see three enclosed print-screens.

If you have any instructions that would be helpful for someone who does not work with Ona every day beyond “test”?. What browser to use? What version of the browser? Do I need to run the form through Pyxform anew so that whatever was updated there can affect my xlsform?

Kind regards,

Mark

Image removed by sender. Attachments icon

image001.jpg

Image removed by sender. Attachments icon

image002.jpg

Image removed by sender. Attachments icon

image003.jpg

Image removed by sender. Attachments icon

Step-1-Specify-xls-FIle-to-Replace-Current-Form-So-As-To-Run-Through-Updated-Pyxform.pdf

Image removed by sender. Attachments icon

Step-2-xls-Form-Uploading.pdf

Image removed by sender. Attachments icon

Step-3-Ona-Throws-Error-Because-Incorrectly-Thinks-xls-file-is-URL.pdf

Image removed by sender. Attachments icon

image001.jpg

Image removed by sender. Attachments icon

image002.jpg

Image removed by sender. Attachments icon

image003.jpg

On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.

 

This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.

 

I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).

 

I enclose a series of print-screens showing the unexepected behavior.

 

Any suggestions?

 

Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.

Image removed by sender. Attachments icon

ScorocsUGA003-09-Ona-Community_forum.xls

Image removed by sender. Attachments icon

Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf

Image removed by sender. intercomImage removed by sender.

--

Collect, Analyze and Share Data - https://ona.io/
---

You received this message because you are subscribed to a topic in the Google Groups "Ona Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ona-community/98XzEjORfrU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/96f5d46f-94c16c69-1615536241-63366200024487%40ona.intercom-mail-200.com.

image001.jpg
image002.jpg
image003.jpg

Jane from Ona

unread,
Oct 19, 2021, 2:58:06 AM10/19/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

I apologise for the inconvenience this has caused you. Please share the XLSForms that you are trying to upload so that I can test the issue from my end. Also, kindly share a screenshot of the exact returned error message.

Regards,
Jane

See our community forum & help site for more information!

Jane Jane from Ona
On Mon, Oct 18, 2021 at 10:12 AM, "Mark" <ma...@microfinance.com> wrote:

Dear Samson:

The same error as below is coming up again today. Note that I also get it when trying to upload forms that uploaded fine (with no changes) two weeks ago. The file extension is .xls. Could this again be some issue with Enketo/pxyform?

Please check and let me know.

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Fri, Mar 12, 2021 at 02:02 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,



Apologies for the inconvenience this has caused you. After the upgrade, it seems that there is a new validation that was added where the system does not allow form title with URL characters such as / or : or . Please remove these characters only from form you downloaded from Ona and replace the one existing for the fix to be effected on the form.
Let me know if this does not solve the issue.
I will be happy to arrange for a call.

Regards,

Samson

On Thu, Mar 11, 2021 at 09:11 AM, "Mark" <ma...@microfinance.com> wrote:

Dear Samson:

I have tested, but the problem remains. I tested with a number of forms, and they all still have the issue. Cleared cache, reloaded, tried on both Firefox and Chrome, still the issue remains.

I also attempted to replace the xlsform (in case it needs to be rerun through pyxform to fix the issue), but even though the file I am uploading is .xls, I get the error message: “Invalid title value; value shouldn't match a URL. Your file should have the .xls .xlsx, .xml file extension because Ona uses XLS Forms to create forms.” So perhaps this error needs to be fixed before I can truly test.

Please see three enclosed print-screens.

If you have any instructions that would be helpful for someone who does not work with Ona every day beyond “test”?. What browser to use? What version of the browser? Do I need to run the form through Pyxform anew so that whatever was updated there can affect my xlsform?

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
Attachments icon Step-1-Specify-xls-FIle-to-Replace-Current-Form-So-As-To-Run-Through-Updated-Pyxform.pdf
Attachments icon Step-2-xls-Form-Uploading.pdf
Attachments icon Step-3-Ona-Throws-Error-Because-Incorrectly-Thinks-xls-file-is-URL.pdf
On Thu, Mar 11, 2021 at 02:17 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

We have deployed the latest version of Enketo and PyXform and this has solved the issue with pulling data in a repeat group. Please test and let us know if you have further questions.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Feb 22, 2021 at 06:49 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Currently, Ona is using Enketo version 2.5.6. However, the issue you were facing was not really related to Enketo version but the version of PyXform we are using. Our technical team has already prepared a release that uses the latest PyXform version which is still in the testing phase on our stage environment.


We will notify you once this deployed will be scheduled on before the end of the week.

Regards

On Sun, Feb 21, 2021 at 12:27 PM, "Mark" <ma...@microfinance.com> wrote:

Has Ona updated to ODK enketo version (V2.6) yet?

On Tue, Jan 12, 2021 at 03:20 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.


I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.


This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.


I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).


I enclose a series of print-screens showing the unexepected behavior.


Any suggestions?


Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom

Jane from Ona

unread,
Oct 19, 2021, 5:04:58 AM10/19/21
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Mark, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mark,

On my end, I have tested uploading a form that has a hyphen, colon, point, and brackets on the form title and I have been able to upload the forms successfully. Please share the XLSForms that you are using on your end so that I can test the issue that you are encountering on your end. Our technical team recently deployed a fix to re-evaluate the validation checks that were made to the form title when uploading a form.

Regards,
Jane

See our community forum & help site for more information!

Jane Jane from Ona
On Tue, Oct 19, 2021 at 01:57 AM, "Jane Mesi" <jane...@ona.intercom-mail.com> wrote:

Hello Mark,

I apologise for the inconvenience this has caused you. Please share the XLSForms that you are trying to upload so that I can test the issue from my end. Also, kindly share a screenshot of the exact returned error message.

Regards,
Jane

See our community forum & help site for more information!

On Mon, Oct 18, 2021 at 10:12 AM, "Mark" <ma...@microfinance.com> wrote:

Dear Samson:

The same error as below is coming up again today. Note that I also get it when trying to upload forms that uploaded fine (with no changes) two weeks ago. The file extension is .xls. Could this again be some issue with Enketo/pxyform?

Please check and let me know.

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Fri, Mar 12, 2021 at 02:02 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,



Apologies for the inconvenience this has caused you. After the upgrade, it seems that there is a new validation that was added where the system does not allow form title with URL characters such as / or : or . Please remove these characters only from form you downloaded from Ona and replace the one existing for the fix to be effected on the form.
Let me know if this does not solve the issue.
I will be happy to arrange for a call.

Regards,

Samson

On Thu, Mar 11, 2021 at 09:11 AM, "Mark" <ma...@microfinance.com> wrote:

Dear Samson:

I have tested, but the problem remains. I tested with a number of forms, and they all still have the issue. Cleared cache, reloaded, tried on both Firefox and Chrome, still the issue remains.

I also attempted to replace the xlsform (in case it needs to be rerun through pyxform to fix the issue), but even though the file I am uploading is .xls, I get the error message: “Invalid title value; value shouldn't match a URL. Your file should have the .xls .xlsx, .xml file extension because Ona uses XLS Forms to create forms.” So perhaps this error needs to be fixed before I can truly test.

Please see three enclosed print-screens.

If you have any instructions that would be helpful for someone who does not work with Ona every day beyond “test”?. What browser to use? What version of the browser? Do I need to run the form through Pyxform anew so that whatever was updated there can affect my xlsform?

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
Attachments icon Step-1-Specify-xls-FIle-to-Replace-Current-Form-So-As-To-Run-Through-Updated-Pyxform.pdf
Attachments icon Step-2-xls-Form-Uploading.pdf
Attachments icon Step-3-Ona-Throws-Error-Because-Incorrectly-Thinks-xls-file-is-URL.pdf
On Thu, Mar 11, 2021 at 02:17 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

We have deployed the latest version of Enketo and PyXform and this has solved the issue with pulling data in a repeat group. Please test and let us know if you have further questions.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Feb 22, 2021 at 06:49 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Currently, Ona is using Enketo version 2.5.6. However, the issue you were facing was not really related to Enketo version but the version of PyXform we are using. Our technical team has already prepared a release that uses the latest PyXform version which is still in the testing phase on our stage environment.


We will notify you once this deployed will be scheduled on before the end of the week.

Regards

On Sun, Feb 21, 2021 at 12:27 PM, "Mark" <ma...@microfinance.com> wrote:

Has Ona updated to ODK enketo version (V2.6) yet?

On Tue, Jan 12, 2021 at 03:20 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

I have been able to replicate the issue on our Enketo version(V2.3.11) and it works fine on ODK enketo version(V2.6). I have notified our technical team and we will work to upgrade our Enketo version to the latest version.


I will notify you here one this update has been made.

Regards,
Samson

See our community forum & help site for more information!

On Mon, Jan 11, 2021 at 08:40 AM, "Mark" <ma...@microfinance.com> wrote:

The original post includes the XLS form as an enclosure, as well as a series of print-screen to show how to reproduce the problem, as well as links to the operating form on ona.io (where the problem appears) and on getodk.org (where the problem does not appear).

Kind regards,

Mark

Attachments icon image001.jpg
Attachments icon image002.jpg
Attachments icon image003.jpg
On Sun, Jan 10, 2021 at 11:54 PM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello Mark,

Kindly share the XLSForm with us so that we can see how you have developed your form and also test the the issue from our side.

Regards,
Samson

On Sun, Jan 10, 2021 at 06:32 PM, "Mark" <ma...@microfinance.com> wrote:

When I reference a variable created earlier within a given iteration of a repeat group, it sometimes (not always, ugg) and unexpectedly returns the value from the first iteration even on iterations after the first, when I expect it to return the value from the current iteration.


This sometimes happens when first set of iterations through the repeat group (without any backing up), and i seems to always happen when backing up through the repeat group.


I think that this is probably not a mere programming bug of mine because it happens when I run the form via enketo.on.io (https://enketo.ona.io/x/yi2LrbzH, XLSform enclosed with the relevant repeat group highlighted), but it works as expected when the same form is run through getodk.org/xlsform/ (ignoring the initial error message, see temporary link: https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/cym_7xz9/ScorocsUGA003-09.xml).


I enclose a series of print-screens showing the unexepected behavior.


Any suggestions?


Mark

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/d08f91e3-3c94-41da-ae8c-c1de636beeb7n%40googlegroups.com.
Attachments icon ScorocsUGA003-09-Ona-Community_forum.xls
Attachments icon Screen-Shots-Value-From-First-Repeat-Iteration-Unexpectedly-Returned-In-Later-Iterations.pdf
intercom
Reply all
Reply to author
Forward
0 new messages