Skip to content

Fully fix #258#259

Merged
liZe merged 1 commit intoKozea:masterfrom
untitaker:issue258
Apr 29, 2015
Merged

Fully fix #258#259
liZe merged 1 commit intoKozea:masterfrom
untitaker:issue258

Conversation

@untitaker
Copy link
Contributor

If I do REPORT requests, the following line would raise a KeyError:

items = [collection.items[name]]

Wrapping it with a try-except block obviously fixes that issue.

At least for REPORT requests, Radicale now also returns proper HTTP status
codes when items or just its properties couldn't be found.

If I do REPORT requests, the following line would raise a KeyError:

    items = [collection.items[name]]

Wrapping it with a try-except block obviously fixes that issue.

At least for REPORT requests, Radicale now also returns proper HTTP
status codes when items or just its properties couldn't be found.
@untitaker
Copy link
Contributor Author

@liZe Please review this.

@liZe liZe added the bug label Apr 29, 2015
@liZe liZe added this to the 1.0 milestone Apr 29, 2015
@liZe liZe self-assigned this Apr 29, 2015
@liZe
Copy link
Member

liZe commented Apr 29, 2015

That's a much better solution, it shouldn't break anything: pretty cool!

liZe added a commit that referenced this pull request Apr 29, 2015
@liZe liZe merged commit 4cbabd2 into Kozea:master Apr 29, 2015
@untitaker
Copy link
Contributor Author

Thanks!

@untitaker untitaker deleted the issue258 branch April 29, 2015 17:16
untitaker added a commit to pimutils/vdirsyncer that referenced this pull request Apr 29, 2015
@liZe liZe modified the milestones: 2.0, 1.0 Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants