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
on the website
Under Benchmarks >> Managment >> Banchmarks I'm In
When I click the link R&S Engineering Competition 2023 Qualifying in the name column, it leads to an error 404.
This could have something to do with the secret_key query.
4. Click on the link in the email to access the competition (In this case it works)
I think the problem you are having is because you tried to register to a competition which is private and you are NOT an admin fo the competition. In this case if you only use the URL without secret key (in your case: R&S Engineering Competition 2023 Qualifying), your will get 404 error because the competition is private/unpublished.
If this is not the case, please share more details
Yes, but the link is not actually broken. The fact that you can't access it is not a bug, it's a feature, since the competition is private. But I am not sure that the email should contain the private URL. Maybe it should? It needs to be discussed.
So obviously the problem should be addressed, but not necessarily by modifying the URL.
After discussion, here is in my opinion the right fix:
Once you are accepted in a benchmark (either auto-accept or manual accept), you should be able to access the benchmark using the public URL, given that you are logged in.
This would also fix the broken URL we have in private benchmarks from the "Benchmarks I'm in" interface:
Activity
Didayolo commentedon May 2, 2023
Please be more specific. What URL gives you a 404 error? To what it is supposed to redirect?
juli-99 commentedon May 2, 2023
I experience a similar issue in two places.
The E-Mails
Eg.
This link leads to an error 404.
on the website
Under
Benchmarks >> Managment >> Banchmarks I'm InWhen I click the link R&S Engineering Competition 2023 Qualifying in the name column, it leads to an error 404.
This could have something to do with the secret_key query.
ihsaan-ullah commentedon May 3, 2023
@juli-99 I tried to reproduce your error.
Steps:

4. Click on the link in the email to access the competition (In this case it works)I think the problem you are having is because you tried to register to a competition which is private and you are NOT an admin fo the competition. In this case if you only use the URL without secret key (in your case: R&S Engineering Competition 2023 Qualifying), your will get 404 error because the competition is private/unpublished.
If this is not the case, please share more details
Thanks.
Didayolo commentedon May 3, 2023
Indeed, it is because the competition is private. The email contains the public URL, not the secret URL. Not sure if we should do something about it.
juli-99 commentedon May 4, 2023
Did I understand you correctly that you are not sure if you should fix broken links?
Didayolo commentedon May 4, 2023
Yes, but the link is not actually broken. The fact that you can't access it is not a bug, it's a feature, since the competition is private. But I am not sure that the email should contain the private URL. Maybe it should? It needs to be discussed.
So obviously the problem should be addressed, but not necessarily by modifying the URL.
Didayolo commentedon May 4, 2023
After discussion, here is in my opinion the right fix:
Once you are accepted in a benchmark (either auto-accept or manual accept), you should be able to access the benchmark using the public URL, given that you are logged in.
This would also fix the broken URL we have in private benchmarks from the "Benchmarks I'm in" interface:
Didayolo commentedon May 4, 2023
I close this issue as it is solved by #839. The fix will be merged soon.