mikeu / cakephp-nested-join-conditions

Demo app that reproduces a reported CakePHP issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CakePHP Application Skeleton demonstrating error thrown by nested join conditions

This application was written to demonstrate the situation described in CakePHP issue #10531.

Installation

  1. Clone the repo,
git clone git@github.com:mikeu/cakephp-nested-join-conditions.git
  1. Enter the directory and install its dependencies
cd cakephp-nested-join-conditions && composer install
  1. Edit config/app.php to supply a valid database connection (the issue was encountered using PostgreSQL 9.4).
  2. Create the database tables,
bin/cake migrations migrate
  1. Start the CakePHP development server,
bin/cake server -p 8765
  1. Attempt to view the posts visible to members of group 1, by visiting http://localhost:8765/posts.

About

Demo app that reproduces a reported CakePHP issue


Languages

Language:PHP 87.0%Language:CSS 10.7%Language:Shell 1.2%Language:Batchfile 0.7%Language:ApacheConf 0.4%