CustomData not injected when accessing the online version
I have a dynamic subscription provider and a render task.
The provider gives me the list of people to sent the mail to. For each Receiver object, a Dictionnary of custom data is being used.
The render task manipulates the unsubscription link to embed correct information.
When the mail is received, everything is set up correctly. The CustomData are available for the render task as expected;
Now,
If the user clicks on the online version of the mail, NS calls again the subscription provider, then goes to the render task. This time the CustomData remains null ...
The render task is then lacking important information to create the link.
It looks like a serious bug to me, unless I missed something obvious ?
It sounds to me like there is something wrong here. The "CustomData"-feature has not been heavily used / tested since it's release so it's possible that this is something that has been around for a while.
I will have a look at this and try to reproduce the issue. Are you on the latest version of the package (as of now 2.1.6)?
I can confirm this, when the letter is rendered online we're using a "mock" of the original tracking item for this user that does not contain allt the data that is provided from the subscription provider during send out.
I've added this as a bug in our backlog and it will be a part of the next release.
As a workaround: Depending on what information you are storing in CustomData it might be possible to get the same data from another place based on the e-mail when your render task does it work.
Ie. if you are getting a custom property from a members you could call to the members API in your render task to "get around" the issue for the moment while waiting for a new release.
I know it may sounds a bit like a duplicate, but wouldn't it make sense to fetch the CustomData from the ns_EmailTrackingItems based on the Email and the NewsletterId ?
Like I said in the other thread that's my first question as well. I'm not sure if there is a reason for not doing it that way and since it was a long time ago I need to look closer at it.
I will keep you posted. Please drop me an email: markus [at sign here] enkelmedia.se and I'll provide you with some hotfixes as soon as we get things sorted our.
CustomData not injected when accessing the online version
I have a dynamic subscription provider and a render task.
The provider gives me the list of people to sent the mail to. For each Receiver object, a Dictionnary of custom data is being used. The render task manipulates the unsubscription link to embed correct information.
When the mail is received, everything is set up correctly. The CustomData are available for the render task as expected;
Now,
If the user clicks on the online version of the mail, NS calls again the subscription provider, then goes to the render task. This time the CustomData remains null ... The render task is then lacking important information to create the link.
It looks like a serious bug to me, unless I missed something obvious ?
Thanks for your quick return,
Hi!
It sounds to me like there is something wrong here. The "CustomData"-feature has not been heavily used / tested since it's release so it's possible that this is something that has been around for a while.
I will have a look at this and try to reproduce the issue. Are you on the latest version of the package (as of now 2.1.6)?
// m
Yes 2.1.6
Looking forward to hear if you can reproduce it.
Hi!
I can confirm this, when the letter is rendered online we're using a "mock" of the original tracking item for this user that does not contain allt the data that is provided from the subscription provider during send out.
I've added this as a bug in our backlog and it will be a part of the next release.
As a workaround: Depending on what information you are storing in CustomData it might be possible to get the same data from another place based on the e-mail when your render task does it work.
Ie. if you are getting a custom property from a members you could call to the members API in your render task to "get around" the issue for the moment while waiting for a new release.
// m
I know it may sounds a bit like a duplicate, but wouldn't it make sense to fetch the CustomData from the ns_EmailTrackingItems based on the Email and the NewsletterId ?
Hi!
Like I said in the other thread that's my first question as well. I'm not sure if there is a reason for not doing it that way and since it was a long time ago I need to look closer at it.
I will keep you posted. Please drop me an email: markus [at sign here] enkelmedia.se and I'll provide you with some hotfixes as soon as we get things sorted our.
Cheers!
// m
is working on a reply...