dmwm / das2go

Go implementation of Data Aggregation System (DAS) for CMS experiment
MIT License
2 stars 3 forks source link

"next" and "last" not working on DAS web page #44

Closed stlammel closed 2 years ago

stlammel commented 2 years ago

The "next" and "last" in the <first | prev | next | last> navigation on the DAS web page don't work but always show the first 50 results. Unfortunately, the "results/page" seems not always to work either. Could someone please take a look and fix things? Thanks,

https://cmsweb.cern.ch/das/request?instance=prod/global&input=site+dataset%3D%2FGenericTTbar%2FSAM-CMSSW_9_2_6_91X_mcRun1_realistic_v2-v1%2FAODSIM

vkuznet commented 2 years ago

Stephan, thanks for pointing to this issue. Turns out it comes from upstream changes to golang. Upon investigation I found the following:

2022/05/05 13:49:53 server.go:3197: http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192

and I looked-up issue golang.org/issue/25192 which prohibit usage of &amp; parameter in DAS query. Therefore, I applied the change to the server and deploy it to production. The issue is now solved, and I'm closing the ticket. Feel free to re-open it if it does not work for you and provide further details such as your browser version, etc.

stlammel commented 2 years ago

Great, many thanks for the quick investigation and fix Valentin! - Stephan