Skip to content

FEATURE: MSF-20653 Update message error blob storage#1786

Merged
1 commit merged intogooddata:developfrom
tqtu:MSF-20653-2
Jul 2, 2021
Merged

FEATURE: MSF-20653 Update message error blob storage#1786
1 commit merged intogooddata:developfrom
tqtu:MSF-20653-2

Conversation

@tqtu
Copy link
Copy Markdown
Contributor

@tqtu tqtu commented Jun 29, 2021

No description provided.

@ghost
Copy link
Copy Markdown

ghost commented Jun 29, 2021

Build succeeded (check pipeline).

@tqtu
Copy link
Copy Markdown
Contributor Author

tqtu commented Jun 29, 2021

ok to test

@ghost
Copy link
Copy Markdown

ghost commented Jun 29, 2021

Build succeeded (check pipeline).

elsif e.message && e.message.include?(INVALID_BLOB_CONTAINER_MESSAGE)
raise INVALID_BLOB_CONTAINER_FORMED_MESSAGE
else
raise INVALID_BLOB_GENERAL_MESSAGE
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.

how about the path is not found

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.

With the wrong pass, BlobNotFound message will be thrown,
I fixed and rethrow to path not found

begin
connect
filename = "#{SecureRandom.urlsafe_base64(6)}_#{Time.now.to_i}.csv"
blob_name = @path ? "#{file}" : "#{@path.delete_suffix('/')}/#{file}"
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.

is it reversed?

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.

Yes, the logic code is reverse
I fixed its.

@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2021

Build succeeded (check pipeline).

@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2021

Build succeeded (check pipeline).

@yenkins
Copy link
Copy Markdown

yenkins commented Jul 2, 2021

Sonar scan result

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-ruby-gate-PR1786

To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

@ghost ghost removed the merge label Jul 2, 2021
@ghost ghost merged commit a4b81ca into gooddata:develop Jul 2, 2021
@ghost
Copy link
Copy Markdown

ghost commented Jul 2, 2021

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants