Working around a type-mismatch/repeated field error?

Hi,

As I understand it there is a problem with referencing fields within a
repeat group in a relevance condition. The workaround is to use the
current() function, however we are using a version of ODK aggregate that
doesn't have that implemented. (I know we should upgrade but the decision
to do so is out of my hands and I wouldn't be coming here if that was an
option). So unfortunately I am left with trying to find some other
alternative.

I'd imagine that indexed repeats would be helpful here but I am not sure
how to implement them in my situation, since there isn't a way of knowing
how many times a repeat will be used. Anyway, I've attached my XLSX form
and would appreciate it if someone could talk me through a workaround.

Thanks!

ABQ_CR_DR_BAG_v5-new.xlsx (21.4 KB)

The explanation of a workaround is far more $$s and time than the upgrade
process.

··· On Wed, Aug 26, 2015 at 3:00 PM, Adrian Martinez wrote:

Hi,

As I understand it there is a problem with referencing fields within a
repeat group in a relevance condition. The workaround is to use the
current() function, however we are using a version of ODK aggregate that
doesn't have that implemented. (I know we should upgrade but the decision
to do so is out of my hands and I wouldn't be coming here if that was an
option). So unfortunately I am left with trying to find some other
alternative.

I'd imagine that indexed repeats would be helpful here but I am not sure
how to implement them in my situation, since there isn't a way of knowing
how many times a repeat will be used. Anyway, I've attached my XLSX form
and would appreciate it if someone could talk me through a workaround.

Thanks!

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Dear Team I have list of product to audit, I plan to creat a repeat group and pop up at begin of repeat group to alert user that is going to audit wich product.
Please assist the format to poplate the looop.

Unfortunately the individual who would need to approve and oversee the update is out for a month and we need this form completely in a week. What is the update process like for ODK Aggregate anyway? I did a quick search and didn't see much documentation.

Please start a different thread.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Fri, Aug 28, 2015 at 3:30 PM, emamstafa@gmail.com csrgroupafrica@gmail.com wrote:

Dear Team I have list of product to audit, I plan to creat a repeat group and pop up at begin of repeat group to alert user that is going to audit wich product.
Please assist the format to poplate the looop.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The upgrade steps are detailed here:

I added a section at the top describing the process if you are very
out-of-date.

Mitch

··· On Wed, Aug 26, 2015 at 5:00 PM, wrote:

Unfortunately the individual who would need to approve and oversee the
update is out for a month and we need this form completely in a week. What
is the update process like for ODK Aggregate anyway? I did a quick search
and didn't see much documentation.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Would it be possible to run multiple instances of ODK aggregate off of a
single server? Or does upgrade overwrite files that would allow that? We'd
be upgrading from v1.3.1.

Probably not the way you want to do it.

=====background=====
To be clear, I would distinguish 'database server' from 'database
workspace'.

You install the MySQL database server and connect to that database server
(software).

A database workspace (artifact) is created on that server (that is what the
create_db_and_user.sql script does).

ODK Aggregate then creates and manages data stored within a
database workspace. The database workspace it uses is identified by the
'database name' you specify in the installer.

===back to your question===

(1) You should never run two different versions of Aggregate (e.g., 1.3.1
and 1.4.7) against the same underlying database workspace.

(2) For scalability, the software is written to support multiple copies of
the same Aggregate server accessing the same underlying database workspace.
This would be accomplished by constructing a WAR file via the installer and
replicating it across N servers that were identically configured, and
placing all of those servers behind load balancer.

(3) strange export/publisher behavior might occur if you placed different
running instances of the same ODK Aggregate WAR under different paths on
the same server (e.g., http://myserver.org/firstpath/Aggregate.html and
http://myserver.org/secondpath/Aggregate.html ).

··· On Thu, Aug 27, 2015 at 12:59 PM, Adrian Martinez wrote:

Would it be possible to run multiple instances of ODK aggregate off of a
single server? Or does upgrade overwrite files that would allow that? We'd
be upgrading from v1.3.1.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com