Cannot edit DSN of database adapters #185

Merged
merged 1 commit into from Jun 2, 2014

Conversation

Projects
None yet
1 participant
@weierophinney
Member

weierophinney commented Jun 2, 2014

When editing an existing database adapter, that contains data in the DSN-field, you cannot save it.
A response of:
{"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html","title":"Bad Request","status":400,"detail":"Unrecognized field "dsn""}
is returned.

Creating a new adapter, with data in DSN works as expected.

[#185] Add DSN to input filter
- `dsn` field was missing from input filter, which meant errors were being
  raised on PATCH operations. Added it as a non-required, nullable field.

@weierophinney weierophinney added this to the 1.0.2 milestone Jun 2, 2014

@weierophinney weierophinney merged commit c8a7026 into zfcampus:master Jun 2, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

weierophinney added a commit that referenced this pull request Jun 2, 2014

weierophinney added a commit that referenced this pull request Jun 2, 2014

@weierophinney weierophinney deleted the weierophinney:hotfix/185 branch Jun 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment