Hello OF Team,

I'm writing because I think I've found a bug in Arena, the "hidden when not relevant" function on subtables with "Ennumerate" enabled doesn't quite work.

I have a main table called "Plot" and a subtable called "Destructive Litter Sampling."

In the plot table, we have a Boolean entity called "des_litter_procedure_plot."

The "Destructive Litter Sampling" subtable is multiple, and the "Enumerate" option is enabled with a validation of Min count = 2 and Max count = 2 (we should always have 2 records). I've also defined it to be relevant when "des_soc_procedure_plot == true" (and Hidden is enabled when not relevant).

The problem is that when I run the form and specify that "des_litter_procedure_plot" is TRUE in the "Plot" table, the "Destructive litter sampling" subtable appears, but it won't let me enter the information (I can't see nothing in the table, and I get the error "Destructive litter sampling nodes must be exactly 2".

If I remove the "Destructive litter sampling" subtable from being relevant when "des_soc_procedure_plot == true", then it works.

Thanks

Regards

Oscar

asked 29 Sep, 12:46

osgarcia's gravatar image

osgarcia
6318
accept rate: 0%


Dear Oscar,
In your case the problem seems to be related to the fact that the multiple entity "Destructive litter sampling" is marked with "Enumerate" but there isn't any key code attribute defined inside of it (you have an integer key attribute instead).
Enumerated entities work only with key code attributes defined inside of them; the items in the category associated to the key code attribute will be used to generate the rows of that entity and the code of the category item will be assigned to the key code attribute in every row.
In your case you can simply remove the flag "Enumerate" in that entity and it will work as expected (rows will be generated using the min count specified).
Many thanks,
Open Foris Team

permanent link

answered 30 Sep, 09:28

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
5.1k119
accept rate: 19%

Dear Oscar,
Many thanks for having reported this issue.
We will contact you to your private email address to better understand it.
Thanks again,
Open Foris Team

permanent link

answered 29 Sep, 13:16

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
5.1k119
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×91

question asked: 29 Sep, 12:46

question was seen: 77 times

last updated: 30 Sep, 09:28