Master view within a master view

niko86

New member
After getting master view working correctly I've hit a sort of "Inception" movie problem!

I've created my three tables Project --> Location --> Sample. When a project is made i hit the edit icon and using the master view I can generate a Location with the projectID foreign key entry automatically populated. Now i have a master view set within the Location edit page where i can generate a Sample linked to the Location. This works brilliantly until i Save or Go Back, which instead of going up one level jumps to the Project edit page and looks like this:

VMlvAFV.jpg


My settings for the sample page looks like this:

nOBWTRu.jpg


Am I doing something wrong?


You are using DaDaBIK version 8.0-beta enterprise, installed on 12-13-2016, the latest version of DaDaBIK is 7.3.3 released on 07-26-2016

You are not running the last release of DaDaBIK, the release you are running might have bugs and security holes, see the official change log for further information. You can upgrade DaDaBIK here.

PHP Version: 7.0.9

mysql version: 5.5.49-log

Web server: Apache/2.2.31 (Win32) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.2e mod_fcgid/2.3.9 mod_wsgi/3.4 Python/2.7.6 PHP/7.0.9 mod_perl/2.0.8 Perl/v5.16.3

Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
 

eugenio

Administrator
Staff member
Hello,
it is a known bug, master/details views don't work on more than two levels (see http://www.dadabik.org/index.php?function=show_documentation#bugs)

Best,
 

niko86

New member
I see, are there any plans to work on the bug in the near future?

Or is there any novel workarounds people have found that work?
 

eugenio

Administrator
Staff member
Hello,
at the moment is not high priority because a multi level master/details is not a a common situation in a typical DaDaBIK application and handling the multi level is not trivial.

I remember another user a few months ago posted about this and maybe there was a hack to partially solve the problem, I can't remember the name of the user, try to make a search.

Best,
 
Top