Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Mobile App Transactionals #5872

@deezone

Description

@deezone

Transactional email messages triggered by the mobile application are not resulting in the expected email messages.

The request process is Mobile App -> NorthStar (UserAPI) -> Drupal API -> Message Broker. Somewhere in this flow the needed values are not being passed to result in a complete request to Message Broker.

Issue Summary:

  • user_registration: Message not sent
  • user_password: Message not sent
  • campaign_signup: working as expected.
  • campaign_reportback: *|CAMPAIGN_TITLE|*merge_var` is not set.
  • Incomplete user document in mb-user database (used to generate digest messages).

Example Incomplete User Document in mb-user Database:

Darren "Dee" Lee [20:28] via Slack
@aaron: An example of a "funky" payload passing through Message Broker:

{
"_id" : ObjectId("565c96b0d86f5ff3f7341316"),
"email" : "don.draper+201511301024@dosomething.org",
"created" : ISODate("2015-11-30T18:26:17.350Z"),
"subscribed" : 1,
"campaigns" : [
{
"reportback" : ISODate("2015-11-30T18:26:41Z"),
"signup" : ISODate("2015-11-30T18:26:17Z"),
"nid" : 1503,
"_id" : ObjectId("565c94c935f7e1ad3e52221f")
}
]
}

This is flagged because there's no drupal_uid.

Searching the Drupal app for "don.draper+201511301024@dosomething.org" is not found and yet
the user is signed up for a campaign?

Does this look DS Mobile App related?


Aaron Schachter [11:10] via Slack
@dee to answer your question from last night - yes that’s a test user i’ve been using in the mobile
app. i’ve been testing mostly on staging. when we create users in northstar by passing
create_drupal_user=1" into the query string which should create the account. but perhaps one of
the northstar endpoints is not sending the right data to the relevant phoenix reportback endpoint.
https://dosomething.slack.com/archives/phoenix/p1448933281001311

Related / Duplicate:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions