New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add all properties while creating a subscription #25231
Add all properties while creating a subscription #25231
Conversation
By analyzing the blame information on this pull request, we identified @DeepDiver1975, @nickvergessen and @LukasReschke to be potential reviewers |
Thanks a lot for your contribution! Alternatively you can add a comment here where you state that this contribution is MIT licensed. Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/ |
And for now, MIT licensed. |
No worries - THX May I ask you to add unit tests? Ping me or @georgehrke on irc in case you need a helping hand.
THX |
Thanks a lot for your contribution! Alternatively you can add a comment here where you state that this contribution is MIT licensed. Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/ |
1 similar comment
Thanks a lot for your contribution! Alternatively you can add a comment here where you state that this contribution is MIT licensed. Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/ |
Tests added. |
THX @tcitworld - let's see what Jenkins says about it .... #25280 |
Thanks a lot for your contribution! Alternatively you can add a comment here where you state that this contribution is MIT licensed. Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/ |
@tcitworld please consider signing the CLA - this will grant you full access to the git repo and you can work on branches within the repo. CI will work then much easier - for all of us 😉 |
Done. |
Jenkins is green on #25280 |
👍 |
@georgehrke mind testing? THX |
@@ -1083,18 +1083,25 @@ function createSubscription($principalUri, $uri, array $properties) { | |||
if (isset($properties[$xmlName])) { | |||
|
|||
$values[$dbName] = $properties[$xmlName]; | |||
$fieldNames[] = $dbName; | |||
} else { | |||
if ($dbName == 'calendarorder') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate why this is necessary? it's not in https://github.com/tcitworld/core/blob/9fc27d1d649fa25ba7b4d88a021a7a1b71532c93/apps/dav/lib/CalDAV/CalDavBackend.php#LL1045-1049
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I enforce default values to null (and 0 when database needs it). This part can be removed though.
code looks good otherwise to me. Will test asap |
|
@tcitworld I used https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo?hl=en-US to send a |
The
You'll notice that the |
I don't think so. These elements are part of the xml which is sent with the mkcol. |
The problem here is |
Sorry for wasting your time. 😳 |
9fc27d1
to
ab562ad
Compare
Fixed. |
Since you are a contributor and have push access: please creat a branch in here and recreate the pr.thx |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Should fix issue #24469
This is my first PR, please don't eat me. :-)