loadsys / loadsys/CakePHP-CreatorModifier

Bug with v1.0.3 and Session Handling when running Tests

Open
#18 0 comments 0 reactions 1 assignee View on GitHub

@justinyost is already working on this.

Since Jun 29, 2016.

bug
Dominant language
PHP
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

If an Integration Test setups Session Data using the Session Proxy, this data is no longer available in v1.0.3

http://book.cakephp.org/3.0/en/development/testing.html#setting-up-the-request

Due to the session not being registered as started and hence starting the session which clears out the session data for it being a CLI instance of Session: https://github.com/cakephp/cakephp/blob/master/src/Network/Session.php#L311

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.