Skip to content

[ignore] Server2server ng ocs jenkins2 - #12567

Closed
schiessle wants to merge 9 commits into
masterfrom
server2server-ng-ocs-jenkins2
Closed

schiessle wants to merge 9 commits into
masterfrom
server2server-ng-ocs-jenkins2

Conversation

@schiessle

Copy link
Copy Markdown
Contributor

Just for Jenkins to find out what's wrong. Original PR: #12452

@schiessle

Copy link
Copy Markdown
Contributor Author
Exception: An exception occurred while executing 'INSERT INTO "oc_share_external" ("remote", "share_token", "password", "name", "owner", "user", "mountpoint", "mountpoint_hash", "accepted", "remote_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["localhost", "token", "", "\/name", "owner", "test-share-user2", "\/name", "19b4528adc89a82d9e63ff38a220781b", 0, 1]:

ORA-01400: cannot insert NULL into ("OC_AUTOTEST9"."oc_share_external"."password")

OK, that's the remaining failure on Oracle only. Any idea what's wrong here? I don't get the error message, we don't write NULL to "password" but a empty string if you look at the parameters.

@butonic any idea why Oracle doesn't like it?

@butonic

butonic commented Dec 4, 2014

Copy link
Copy Markdown
Contributor

@schiesbn first guess? password is an empty string.

@butonic

butonic commented Dec 4, 2014

Copy link
Copy Markdown
Contributor

now finished reading ... oracle treats empty string as NULL. Which is why we need to make varchar columns nullable, unless it is 100% guaranteed that it will never contain an empty string.

@schiessle

Copy link
Copy Markdown
Contributor Author

@butonic Thanks! Let's pray that Jenkins now finish successfully.

Note: the last fix needs to be backported to OC7 otherwise S2S sharing without password will also fail on OC7

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: 11 new issues, 44 updated code elements

@ghost

ghost commented Dec 4, 2014

Copy link
Copy Markdown

🚀 Test PASSed. 🚀
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/3746/
🚀 Test PASSed. 🚀

@schiessle schiessle closed this Dec 11, 2014
@schiessle
schiessle deleted the server2server-ng-ocs-jenkins2 branch December 11, 2014 10:34
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants