-
Notifications
You must be signed in to change notification settings - Fork 199
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
Show an error message that the Hecke orbit is not available if the db record is missing. #1219
Conversation
… record is missing.
This is part of a fix for #1217 |
Reviewing now. |
So does what we want for ModularForm/GL2/Q/holomorphic/23/9/22/, i.e. it notes that the Hecke orbit 23.9.22.a is not available. But it does something different for the similar situation for ModularForm/GL2/Q/holomorphic/11/11/10/, where 11.11.10.b is present but 11.11.10.a is missing (and there are dozens more like this). It says that the whole space is missing (whereas the current code on www.lmfdb.org displays the space gets 11.11.10.a wrong). If we are going to throw out the whole space 11.11.10, then we should disable the link on 11.11 (i.e. grey it out). To see the difference, compare: http://www.lmfdb.org/ModularForm/GL2/Q/holomorphic/11/11/10/ versus http://www.lmfdb.org/ModularForm/GL2/Q/holomorphic/23/9/22/ |
It doesn’t do that for me… I get for ModularForm/GL2/Q/holomorphic/11/11/10/ that 11.11.10.a is not clickable and it shows the message as it should. (I am directly connected to warwick for mongo and am running the website locally on my laptop.) Note that the underlying issue is a data issue.
|
1) not use another db query 2) also hides the number fields for the missing hecke orbits.
Sorry, I was stupid so I had to update this again to make sure the number fields really are not displayed. |
I am checking (after the 3rd commit!) |
And of course the whole 'rational coefficients ' business is because the On Sat, 7 May 2016 17:11 Stephan Ehlen, notifications@github.com wrote:
|
@fredstro Yes, I know but this is not really an issue here. The dimension was shown to be 0 and this is the default in this case. If for whatever reason this happens (that there's no db record) then we should show a reasonable error message and only block navigation to the problematic records, not to the whole space. That's what I did now. |
I tried about a dozen of the problem cases in Drew's list and all don't crash, instead displaying (in some cases many times) the message "This Hecke orbit is unfortunately not available." properly in the table. I think that is what this was supposed to fix until the missing data is inserted. So I will merge this now but we should not close the issue until the missing data is in there. |
@sehlen i see this reply got into the wrong thread.... I'm sorry it's a On Sat, 7 May 2016 17:16 Stephan Ehlen, notifications@github.com wrote:
|
@fredstro It took me a while to realize you are actually referring to a bumpy road you're driving on and didn't mean this as a metaphor for the lmfdb project ;-) |
Thanks @JohnCremona for reviewing this. |
@sehlen it was intentional :) On Sat, 7 May 2016 17:32 Stephan Ehlen, notifications@github.com wrote:
|
I took the bumpy road to be metaphorical too! |
:)
|
No description provided.