Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Generate Urls in the Affiliate Dashboard #346

Closed
joshgk00 opened this issue Feb 18, 2021 · 4 comments · Fixed by #348
Closed

Unable to Generate Urls in the Affiliate Dashboard #346

joshgk00 opened this issue Feb 18, 2021 · 4 comments · Fixed by #348
Labels
Milestone

Comments

@joshgk00
Copy link
Contributor

Describe the bug

On the Affiliate Dashboard > Tools Tab, when one tries to generate any kind of url, the page refreshes and the user is not able to see the link or have a chance to copy the url to their clipboard.

Software Versions

  • DNN: 09.08.01
  • Hotcakes: 03.05.00

To Reproduce

Steps to reproduce the behavior:

  1. Install DNN
  2. Install Hotcakes
  3. Enable the affiliate program.
  4. Add a new page that's visible to everyone.
  5. Add the Affiliate Registration module to this new page.
  6. Add a new page that's visible to at least Registered Users.
  7. Add the Affiliate Dashboard module to this new page.
  8. Create an API Key in Hotcakes
  9. Use the API Key to create an Affiliate using the API (since the registration form currently isn't working)
  10. In the Persona Bar navigate to Manage > Users
  11. Set the password for the new user that was created when using the HCC API to create the Affiliate above
  12. In a new browser or incognito window, log in as the user from the previous step
  13. Go to the Affiliate Dashboard
  14. Click on the Tools Tab
  15. Try to generate any Affiliate url

Expected behavior

When clicking on the Generate Url button, the generated link should show in the text area below and allow you to copy the link to you clipboard

Actual behavior

The page reloads and you're taken back to the Commission Reporting Tab, the link is removed from the Tools tab

Screenshots

https://www.screencast.com/t/TNTierSaZ6

@joshgk00
Copy link
Contributor Author

@hismightiness I have a fix for this that I am planning on contributing

@WillStrohl
Copy link
Member

Awesome! This is a duplicate of #292 though. :)

@joshgk00
Copy link
Contributor Author

@hismightiness It doesn't seem like a duplicate but a related issue. I don't have a fix for the Affiliate Registration form or the category drill down but a smaller fix for how a registered affiliate can generate their urls that include their affiliate id. Shouldn't it be logged as a separate issue?

@WillStrohl
Copy link
Member

From the debugging I had done in the past, the same fix should fix all of them. I'll reopen this one, just in case. :)

@WillStrohl WillStrohl reopened this Feb 18, 2021
This was referenced Feb 18, 2021
WillStrohl pushed a commit that referenced this issue Feb 23, 2021
@WillStrohl WillStrohl added this to the 03.06.00 milestone Sep 30, 2021
@WillStrohl WillStrohl added the bug label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants