I'm Priyanka and I'm Ruby on Rails developer at HulkApps.
We have built a Metafields application (Formally known as "Metafields Custom Fields Master") and have implemented Admin-links functionality http://prntscr.com/raq201 in the application.
While testing the functionality we found that sometimes the parameter passed in the redirection link is not accurate while sometimes no parameter is passed. I've recorded a video where you can find that when a merchant is accessing the Metafield Admin link from the Customer details page to edit the metafields, the user is redirected to another customer's 'edit metafield' page of our app.
The redirection functionality is executed on the basis of the object_id passed as a parameter in the response of the admin link.
Can anyone please help us with this issue and help us identify why the wrong parameters are passed in the admin link response.
Thanks for reporting this. I'm able to replicate. The bug seems to appear with the use of the back button, a hard refresh resolves the issue.
Raising this internally. Keep you posted.
This one appears to be resolved - let me know if you're still experiencing issues.
Hi @SBD_ thanks for getting back to me. This is difficult because I am unable to reproduce this on my end, but two app users have shown me videos where they are encountering something similar to the original poster here. In this case we are using Product Admin Links. One was using iOS and the other was using a laptop, so it was happening across devices. Both shops happened to be in Australia, but this could have been coincidence.
The app grabs the URL query string parameters which are supposed to have the shop's information as well as the selected product ids in an array. However, it appears sometimes the wrong query string data is returned and thus when the request is then made to my app, it returns the wrong data for them. Here is the code I am using:
var queryString = window.location.search; var urlParams = new URLSearchParams(window.location.search);
I changed var to const after this, but I don't believe that should have made a difference. Can you please forward this to the developers who work on Admin Links to see if they might have any idea what's going on?
Thanks for the details @policenauts - any chance you're able to share one of the videos with me via DM?
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022