Closed (fixed)
Project:
Salesforce Suite
Version:
5.0.x-dev
Component:
salesforce.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Jul 2021 at 18:25 UTC
Updated:
14 Dec 2023 at 15:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aaronbaumanThanks for your attention on this module.
Can you please create a merge request when it's ready?
We'll need to get these updates into 5.x branch as well
Comment #4
sourabhjainI am trying to resolve more issues related to coding standard.
Comment #5
sourabhjainResolved the coding standard issues. Please review.
Comment #6
dipesh_goswamiHi,
I am reviewing your patch.
Comment #7
dipesh_goswamiHi sourabhjain,
Your patch applied cleanly.
Most of the errors are solved.
Some errors left (shown below):
So, moving it to "Needs work".
Comment #8
asheesh kumar pali m working on this issue
Comment #9
asheesh kumar palI have fixed some issues please review it.
Comment #10
asheesh kumar palI have fixed some issues please review it.
Comment #11
ritviktak commentedComment #12
ritviktak commentedHey asheesh, i have reviewed your patch.
It got failed to apply. Due to below whitespace warnings.
coding_standard_fix-3307056-10.patch:1005: trailing whitespace.
$this->assertElementPresent("[name='field_mappings[$i][config][drupal_field_value]'],
coding_standard_fix-3307056-10.patch:1007: trailing whitespace.
$this->assertElementPresent("[name='field_mappings[$i][config][salesforce_field]'],
coding_standard_fix-3307056-10.patch:1476: trailing whitespace.
$items = $this->connection->queryRange('SELECT * FROM {' . static::TABLE_NAME . '}
warning: 3 lines add whitespace errors.
I have fixed this issue & uploading a patch for same.
Comment #13
ritviktak commentedHey, I have resolved all the remaining issues. Uploading final patch which includes all the remaining issues resolved. I have applied it on my local, it applied cleanly. Please refer to patch coding_standard_fix-3222661-13.patch & screenshot.
Comment #14
manuvelasco commentedThe path from #13 applies successfully and I don't see any warning now.
Comment #15
matt_paz commentedNot sure if it is appropriate to note here or not, but I noticed the following as well:
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\salesforce_mapping\SalesforceMappingFieldPluginBase->pushValue() (line 272 of modules/contrib/salesforce/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php).
Comment #16
aaronbaumanThanks everyone for the patches.
4.x no longer supported, so i re-rolled against 5.x
Comment #18
aaronbaumanCommitted a modified version of this patch. Thanks for the contrib