Skip to content

Share2 ocs fix passing empty strings - #21960

Merged
DeepDiver1975 merged 4 commits into
masterfrom
share2_ocs_fix_passing_empty_strings
Jan 28, 2016
Merged

DeepDiver1975 merged 4 commits into
masterfrom
share2_ocs_fix_passing_empty_strings

Conversation

@rullzer

@rullzer rullzer commented Jan 27, 2016

Copy link
Copy Markdown
Contributor

More sanity checks and better parsing in the OCS Api endpoint. Needed for #21860

  • passing password or expireDate as empty strings. Is not handled proplery
  • more sanity checks
  • more unit tests

CC: @PVince81 @DeepDiver1975 @schiesbn @nickvergessen @LukasReschke

@rullzer rullzer added this to the 9.0-current milestone Jan 27, 2016
@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @DeepDiver1975 to be a potential reviewer

@PVince81

Copy link
Copy Markdown
Contributor

Fixes the problem 👍

@PVince81 PVince81 mentioned this pull request Jan 27, 2016
17 tasks done
Comment thread tests/phpunit-autotest.xml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thats a bit brutal

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Jikes indeed.
Fixed

The password and expiration date can be set to empty strings when
created. This is now handled gracefully.
* More sanity checks
* More unit tests
Still allow isolated updates of parameters
@rullzer
rullzer force-pushed the share2_ocs_fix_passing_empty_strings branch 2 times, most recently from e53ac71 to 6957917 Compare January 27, 2016 19:39
@rullzer

rullzer commented Jan 27, 2016

Copy link
Copy Markdown
Contributor Author

@PVince81 I think I now tackled all the issues with the OCS Shaer API update call. Please have another look.

@PVince81

Copy link
Copy Markdown
Contributor

Works now, thanks a lot 👍

@PVince81

Copy link
Copy Markdown
Contributor

Needs a second reviewer @nickvergessen @MorrisJobke @icewind1991

For easier testing, merge this branch with #21860 which makes the dialog use the OCS share APIs and used to triggerer the bugs that this PR fixes

@MorrisJobke

Copy link
Copy Markdown
Contributor

Tested and works 👍

@PVince81

Copy link
Copy Markdown
Contributor

smashbox fail unrelated: "curl error"

DeepDiver1975 added a commit that referenced this pull request Jan 28, 2016
…strings

Share2 ocs fix passing empty strings
@DeepDiver1975
DeepDiver1975 merged commit 295de6a into master Jan 28, 2016
@DeepDiver1975
DeepDiver1975 deleted the share2_ocs_fix_passing_empty_strings branch January 28, 2016 10:58
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants