Comments

Xiaohua Guan created an issue. See original summary.

xiaohua guan’s picture

Issue summary: View changes
xiaohua guan’s picture

Status: Active » Needs review
StatusFileSize
new809 bytes

@yas

I added code to output error message if the private directory can't be gotten by "Drupal::service('file_system')->realpath('private://')".

Please review the patch file. Thanks.

Status: Needs review » Needs work

The last submitted patch, 3: 3163401-2.patch, failed testing. View results

yas’s picture

@xiaohua-guan

Thank you for fixing the issue. It looks good as we expected.

  1. Do we need to take care of the existing test case since we are trying to add the validation?
  2. +++ b/modules/cloud_service_providers/aws_cloud/aws_cloud.module
    @@ -3722,6 +3722,11 @@ function aws_cloud_page_attachments(array &$attachments) {
    +      t('Error occurred getting private file directory. Please confirm whether the private file directory %directory exists.', ['%directory' => PrivateStream::basePath()])
    
  3. Let's align the message to the existing ones:

    t('Error occurred ... to t('An error occurred ...

yas’s picture

Title: Fix a status message: "Cannot read creentials from /.aws/credentials" » Fix a status message: "Cannot read credentials from /.aws/credentials"
xiaohua guan’s picture

StatusFileSize
new4.41 KB
xiaohua guan’s picture

Status: Needs work » Needs review

The last submitted patch, 3: 3163401-2.patch, failed testing. View results

Status: Needs review » Needs work

The last submitted patch, 7: 3163401-5.patch, failed testing. View results

xiaohua guan’s picture

StatusFileSize
new4.71 KB
xiaohua guan’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 11: 3163401-11.patch, failed testing. View results

xiaohua guan’s picture

StatusFileSize
new4.75 KB
xiaohua guan’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 14: 3163401-14.patch, failed testing. View results

xiaohua guan’s picture

StatusFileSize
new4.79 KB
xiaohua guan’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 17: 3163401-17.patch, failed testing. View results

xiaohua guan’s picture

StatusFileSize
new4.95 KB
xiaohua guan’s picture

Status: Needs work » Needs review

test

Status: Needs review » Needs work

The last submitted patch, 20: 3163401-20.patch, failed testing. View results

xiaohua guan’s picture

StatusFileSize
new868 bytes
xiaohua guan’s picture

Status: Needs work » Needs review
xiaohua guan’s picture

@yas

Please review the patch file. Thanks.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@xiaohua-guan

Thank you for the update. It looks good to me now. I'll merge the patch to 8.x-1.x, 8.x-2.x and 3.x and close this issue as Fixed.

  • yas committed 5ad5658 on 8.x-1.x authored by Xiaohua Guan
    Issue #3163401 by Xiaohua Guan, yas: Fix a status message: "Cannot read...

  • yas committed 80f7f0e on 8.x-2.x authored by Xiaohua Guan
    Issue #3163401 by Xiaohua Guan, yas: Fix a status message: "Cannot read...

  • yas committed cfaf882 on 3.x authored by Xiaohua Guan
    Issue #3163401 by Xiaohua Guan, yas: Fix a status message: "Cannot read...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.