When you submit a scoop you get error messages that display when you enter a duplicate URL or enter a title that is too short or too long, etc.
However, these messages do not display when you make these errors when editing a scoop.
For example, if you edit a scoop that has already been submitted and you accidentally make the title too short, the title will go red but no message displays telling you what the error is.
Comments
Comment #1
sikjoy commentedJust to be clear, are you using 5.x-2.x-dev or 5.x-1.x-dev?
I checked the 5.x-1.x-dev version and error messages on the create scoop form are working properly. One important caveat, if you have not updated jQuery, it will not work. See http://www.drigg-code.org/pages/download_and_install section 3c for details.
--sicjoy
Comment #2
mercmobily commentedHi,
Sicjoy, actually, I am getting this very problem in http://www.drigg.org ...
It only happens if you edit a story, and then have the description too short. The field becomes red, but the error at the top won't show up!
Merc.
Comment #3
sikjoy commentedI was able to duplicate this problem on a fresh Drigg installation. However, as soon as I upgraded jQuery using the jQuery Update module (5.x-2.x-dev), the problem was fixed.
Comment #4
mercmobily commentedHi,
Which version of jquery has this problem?
This is happening on http://www.drigg.org ... is www.drigg.org not using the right version of jquery? Can you please check?
Merc.
Comment #5
sikjoy commentedI have confirmed that installing the jquery update module ver. 5.x-2.x-dev fixes this problem. I have also confirmed that following section 3c of http://www.drigg-code.org/pages/download_and_install fixes this problem as well.
Comment #6
mercmobily commentedHi,
Sicjoy, what version of jquery is installed by installing jquery_update 5.x-2-dev?
Also, how come the problem is not there with drigg-distr, and it's there in drigg.org and fsdaily.com?
Merc.
Comment #7
sikjoy commentedUltimately it was a javascript issue. The javascript was looking for a tag,
<div class="help">, that was present when submitting a scoop, but absent when editing a scoop. It would try insert error messages immediately after this tag.There just so happens to be another tag that is present in both cases,
<form class="node-form">. I changed the javascript to insert error messages immediately before this tag. Since<div class="help">is immediately followed by<form class="node-form">, the error messages show up in the same location on the page.--sicjoy
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.