Dear Triggre-Team,
It looks like we’ve found a defect and we can’t figure out why.
The explanation of the design:
- Tenant: alex-schilder-2.triggre.net/designer
- User flow: Orders
- Page: Ritten plannen smalltable
- Field: ‘Contactpersoon’
- Selectable data item: ContactPerson
- One
- Filter:
- ContactPerson / Relation = current page / Left / Table / Suborder / Relation
- Required: yes
- Prefill:
- Current page –> Left –> Table –> Suborder –> RelationContactPerson
- ValidationRule: no
- Selectable data item: ContactPerson
- Field ‘Rit’
- Selectable data item: OrderLines
- One
- Filter:
- OrderLines / Suborder / ID = Current page / Left / Table / Suborder / ID
- Required: yes
- Prefill:
- Current page –> Left –> Table
- ValidationRule: no
- Selectable data item: OrderLines
- Field: ‘Contactpersoon’
The explanation of the bug in lab:
- Tenant: alex-schilder-2.triggre.net/lab
- Menu: Orders/Orders/Orders
- Select the third row in the table (it not specific for just this order, but this is the testcase)
- WHERE OrderType = ‘Inkoop naar locatie’ AND Status = ‘Concept’ AND Organisatie = ’10-VO’
- Click on ‘Beheren’
- Click on ‘Transport plannen’
- Click on ‘Volgende’
- Click on ‘Volgende’
- Now you’re in the ‘Ritten plannen’ page.
- Select a row in the table on the left side of the screen (the 33% part)
- Fill the fields on the right side of the screen:
- Contactpersoon
- Ritdatum
- Rit is already filled, because of the Prefill
- Laaddatum
- Tijd vanaf
- Tijd tot
- Losdatum
- Tijd vanaf
- Tijd tot
- Fill the fields on the right side of the screen:
- Click on ‘Rit plannen’
- Scroll the right side of the page to the top and you’ll see that there’s a validation error on ‘Contactpersoon’ and ‘Rit’:
We’ve tried several configurations of the design of these fields, but it still gives this warning. We have seen this before somewhere in our application, but this is a good example.
I really hope there’s a workaround for this, or the solution is pretty easy.
Thanks in advance!