Closed happykcz closed 3 years ago
Which crag do you want to see? Can you describe more?
Hi Andras, sorry for such a delay reply.
The problem is not really related to a specific crag. It does happen with any when clicking the 'Read more on theCrag' button before everything for the selected crag is fully loaded. Pls, find an example attached for the Blue Mountains.
This is weird as it works for me. Are you connected to the network?
Hi, I've got a slow connection, so it takes time for the selected crag to get fully loaded. If I click the button before it's loaded, it'll go to the 'null' address. Therefore, from my perspective, the button shouldn't be active until the page/crag is fully loaded? Cheers
@happykcz can you please retry? I'm on super slow network and can't reproduce that. If I click it just takes longer - even when the page is not yet loaded but I never get a 404.
Closing as it doesn't seem to be an issue (anymore?)
Hi, sorry for the late reply.
Unfortunately, it's still happening. I've just tried with a crag I haven't look at in the app yet, Grampians. Before all info for the crag is loaded, the button goes to thecrag.comnull. Not sure at what stage the button get the correct link, but It went to Null even when the main picture of the crag was already displayed. Once all text/description was loaded, the button worked. Hopefully this help.
Cheers
ok, good but not good - we will look into that.
Also consider renaming the button to "Read more and contribute on theCrag"
It will be fixed in the next release. To minimize server load and bandwith usage, the url parameter is not downloaded with the map metadatas. If you open the node info page you receive more detailed metadatas on the background. In this small time (while your mobile and the server communicates) you have an empty(null) url parameter. We switch the url generation format to this: https://www.thecrag.com/<nodeId>
and it will fix everything, we not need anymore to receive the url parameter at the https://www.thecrag.com/en/article/api#index-detail endpoint. So it is unneccessary in the future. Less data = faster application
Fixed (v151), please check and close if works properly.
All good now, thx for the great work guys
I managed to use the button 'Read more on theCrag' on the info page before everything fully loaded. It leads to the wrong page.