You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Apigee/Drupal connection only functional properly when every Drupal user has a developer account Apigee. This is the constraint that we try to enforce since day 1 with different solutions, like developer create/update on user create/update or via the Developer sync feature.
With Apigee X/Hbyrid, the user creation is successful even if the developer creation failed with INVALID_ARGUMENT: email address has to be lowercase.
Apigee Info
Apigee X/Hybrid
Steps to Reproduce
a) Create a user with uppercase characters in their email address, like [email protected].
b) Run developer sync on a developer portal that has users with uppercase characters in their email addresses.
Actual Behavior
a) The developer creation silently fails, leads to other unexpected errors in other places because an existing Drupal user has no developer account on Apigee. With Apigee Edge Debug module enabled the following log message can be found:
b) Developer sync simply skips the user with a message: Skipping [email protected] developer. INVALID_ARGUMENT: email address has to be lowercase
Expected Behavior
a) Should fail with a field level constraint validation error (was also recommended here) as long as Apigee X/Hybrid does not support email addresses described in RFC 5321 section 2.3.11.
b) Probably works as designed, although it would better if the field level validation would fail and that would be reported instead of the API call and the report would expose the underlying error message from the API backend.
Description
The Apigee/Drupal connection only functional properly when every Drupal user has a developer account Apigee. This is the constraint that we try to enforce since day 1 with different solutions, like developer create/update on user create/update or via the Developer sync feature.
With Apigee X/Hbyrid, the user creation is successful even if the developer creation failed with
INVALID_ARGUMENT: email address has to be lowercase
.Apigee Info
Apigee X/Hybrid
Steps to Reproduce
a) Create a user with uppercase characters in their email address, like [email protected].
b) Run developer sync on a developer portal that has users with uppercase characters in their email addresses.
Actual Behavior
a) The developer creation silently fails, leads to other unexpected errors in other places because an existing Drupal user has no developer account on Apigee. With Apigee Edge Debug module enabled the following log message can be found:
b) Developer sync simply skips the user with a message:
Skipping [email protected] developer. INVALID_ARGUMENT: email address has to be lowercase
Expected Behavior
a) Should fail with a field level constraint validation error (was also recommended here) as long as Apigee X/Hybrid does not support email addresses described in RFC 5321 section 2.3.11.
b) Probably works as designed, although it would better if the field level validation would fail and that would be reported instead of the API call and the report would expose the underlying error message from the API backend.
Screenshots
N/A
Notes
Version Info
Apigee Edge 3.0.2
The text was updated successfully, but these errors were encountered: