Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Fix and test case for: RowGateway primary key not null constraint do not fail with empty string#6335

Merged
weierophinney merged 6 commits into
zendframework:masterfrom
jeanCarloMachado:fix-row-gateway
Aug 7, 2014
Merged

Fix and test case for: RowGateway primary key not null constraint do not fail with empty string#6335
weierophinney merged 6 commits into
zendframework:masterfrom
jeanCarloMachado:fix-row-gateway

Conversation

@jeanCarloMachado
Copy link
Copy Markdown
Contributor

When passing quotes as a empty string on the primary key column the initialize fails to recognize the empty value because of the array casting on the constructor.

@jeanCarloMachado
Copy link
Copy Markdown
Contributor Author

There's 3 trash commits, but, since it does not alter nothing from the current tree, my current knowledge points no problem from that.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOF EOL

@weierophinney weierophinney added this to the 2.3.2 milestone Aug 6, 2014
weierophinney added a commit that referenced this pull request Aug 7, 2014
Fix and test case for: RowGateway primary key not null constraint do not fail with empty string
@weierophinney weierophinney merged commit 1f53530 into zendframework:master Aug 7, 2014
weierophinney added a commit that referenced this pull request Aug 7, 2014
- Removed unused/unnecessary method from test case
- Added import statements
- Added whitespace
- Modified test to use setExpectedException() instead of try/catch
weierophinney added a commit that referenced this pull request Aug 7, 2014
weierophinney added a commit that referenced this pull request Aug 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants