Closed (fixed)
Project:
Link
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jul 2011 at 09:04 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
WilliamB commentedCan't believe none else has faced that issue?
I just can't put required for a link field, it gives me the error : At least one title or URL must be entered.
Comment #2
yched commentedPatch in #1038444: Extra required indicator shoudl fix that.
Comment #3
dqdpatch in #1038444: Extra required indicator is obsolete and error still reproducible
Comment #4
dqdComment #5
dqdREMOVED -> D7 stable release blocker
Comment #6
dqdSince the in #2 mentioned but sadly never committed patch of davereid from January didn't fit on the newer code automaticly no more, I had to manually apply it and create a retrieved version of it.
Here we go, let me know ... http://drupal.org/node/1038444#comment-5037138
Comment #7
dqdwe got to catch up. I reviewed by myself on 3 test installs. seems to work. committed to latest dev and marked for beta1
Comment #8
geert commentedHello, Just installed and tested the beta1 release. I encounter 2 similar problems. Please let me know if you prefer a new issue.
1- at the creation of a content type, I marked my link field as required. When creating the content type, I entered a value for the link title and the URL. Upon saving, I get an error that at least on needs to be eneterd. To solve this, I no longer marked the field as required, and now it works.
2- As I wanted to make a screenshot to document the issue, I flagged required again. Upon saving the content type, I got the error that error "At least one title or URL must be entered." again.
regards
Geert
Comment #9
dqdgeert, please use latest dev and report back (all info about why above)
but thx 4 your report!
Comment #10
geert commentedTried the dev version. Same behaviour.
Comment #11
bcn commentedI can also confirm the same issue as geert. When trying to save a required URL (with optional title), I receive the "At least one title or URL must be entered." even if the URL is in the form field.
What worked for me was to change:
To this (notice the ===):
There might be other cases that should be changed to === as well...
Comment #12
dqdthx noahb! often it is because of the small things in such cases.
thank you for pointing it out!
noahb++
Comment #13
orakili commentedHere's a patch from #11.
Comment #14
dqdthanks orakili and noahb! committed to latest dev. seems to work (here).