Skip to content

Cannot edit DSN of database adapters #185

Merged
merged 1 commit into from Jun 2, 2014

2 participants

@gartner
gartner commented Jun 1, 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.

@weierophinney weierophinney [#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.
c8a7026
@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

Details continuous-integration/travis-ci The Travis CI build passed
@weierophinney weierophinney added a commit that referenced this pull request Jun 2, 2014
@weierophinney weierophinney Merge branch 'hotfix/185'
Close #185
5544d5d
@weierophinney weierophinney added a commit that referenced this pull request Jun 2, 2014
@weierophinney weierophinney Merge branch 'hotfix/185' into develop
Forward port #185
cd3a023
@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
Something went wrong with that request. Please try again.