Databasejoin in a list with repeat group

Status
Not open for further replies.

Fred04

Member
Hello,

I have a list that includes a repeat group.
ie: company joined to location (repeatable)

In this list I have several elements including 2 databasejoin elements
ie: company__status and location__status

it works perfect until I put the ACL setting 'editable = nobody' on my databasejoin elements location__status. Doing that, each time I save an existing list all the values for my databasejoin element (that are in 'display', because of ACL) are lost.

Any idea?
picture 1: form with editable = public for location__status
picture 2: change ACL to nobody
picture 3: form with editable = nobody for location__status
picture 4: result after saving the form: you see a 0 in all databasejoin element
 

Attachments

  • ScreenHunter_01 Oct. 23 13.49.gif
    ScreenHunter_01 Oct. 23 13.49.gif
    8.2 KB · Views: 271
  • ScreenHunter_02 Oct. 23 13.50.gif
    ScreenHunter_02 Oct. 23 13.50.gif
    10.1 KB · Views: 234
  • ScreenHunter_03 Oct. 23 13.50.gif
    ScreenHunter_03 Oct. 23 13.50.gif
    7.8 KB · Views: 253
  • ScreenHunter_04 Oct. 23 13.50.gif
    ScreenHunter_04 Oct. 23 13.50.gif
    7.6 KB · Views: 260
friendly bump :)
I added some comments + snapshots in the first post to better explain the problem
 
I've added a comment on that commit, and re-opened the ticket.

I'm in the middle of moving house over the next few days, otherwise I'd jump in and take a look right now.

-- hugh
 
thank you
I created a simple test scenario to help
this is just a company / location one to many relation
you will see the current situation and what I get after clicking on 'save' a first time and a second time

you will also notice that after the update the field for company has the information about the first location! It seems the data are shifting up
 

Attachments

  • ScreenHunter_02 Nov. 01 22.35.gif
    ScreenHunter_02 Nov. 01 22.35.gif
    7.7 KB · Views: 275
  • ScreenHunter_04 Nov. 01 22.38.gif
    ScreenHunter_04 Nov. 01 22.38.gif
    15.3 KB · Views: 256
  • ScreenHunter_06 Nov. 01 22.46.gif
    ScreenHunter_06 Nov. 01 22.46.gif
    14.3 KB · Views: 209
I think I might have fixed things in github, could you update and test again please?

thanks
Rob
 
Status
Not open for further replies.

Members online

No members online now.
Back
Top