Skip to main content
Topic: relation bug (Read 1077 times) previous topic - next topic

relation bug

I have made two relation in "doc" table,
first the id is related to sales table doc_id,
second partner_id to id of partner table.

due to some reason they mix in some rows,
 if you click partner link on first and second row it lead once to partner second to sales
???


Re: relation bug

Reply #2
@willvin
id is unique for each table and it is ai ... same for ie, chrome..
I think the problem is due to:
there is two relation in a row, and so if you open first link just to see view modal, then the second link open the same modal, probably it used same variable ...

I can't attach photo to this post, server said is full?
 


Re: relation bug

Reply #4
@willvin
see: https://drive.google.com/drive/folders/1YlCUp4AhqtQ1Lx0sR1hG8JV00U9pZsl4
docs table
fist row
click 1- id: 2000000044  - that opens modal sales - list -works OK
click 2 - part_id: compsny nme - supposed to open view partner but it open sales-list
second row
click 3 -  part_id: compsny nme -works  OK
click 4 - 2000000045 supposed to open sales-list  but it open view partner

if refresh is used between clicks it works fine!


Re: relation bug

Reply #6
if refresh is used between clicks it works fine so it is not big issue for me!
you could try it your self, It is not only me I think!
Thank you