Closed (works as designed)
Project:
Quotes
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Sep 2004 at 19:56 UTC
Updated:
5 Dec 2007 at 13:48 UTC
The quotes module should not allow duplicate entries (same author & quote as another entry). At the very least, it should warn the user. If the intent of allowing duplicate entries is to weight one entry more than another, it should use a "weight" factor like other modules next to each entry.
Quote
"My Quote" "Author1"
"My Quote" "Author1"
Comments
Comment #1
jhriggs commentedAs of 4.5, quotes are nodes, and users can maintain their own list of quotes. More than one user may decide to store the same quote, so I do not intend to enforce uniqueness among quotes.
Comment #2
The Directive commentedQuotes module allows duplicate entries (same author & quote as another entry) for same user
I promise not to argue this same point again (contest the ‘won’t fix’ issue resolution). :-) I think you misunderstood my comment or I didn't articulate it properly. I'm not asking you to enforce uniqueness among quotes from different users. That does not make sense. I'm asking you to "enforce" uniqueness among the same quotes from the same user. I quoted "enforce" because I really mean warn (not restrict) if the same user enters the same quote's text and author. For example, it should ask for confirmation when entering the same quote and author "Are you sure you want to enter a duplicate quote?" The user then selects the ‘Yes’ or ‘No’ button. This will help to prevent entering duplicate quotes by mistake.
Comment #3
jhriggs commentedOK. A notice/confirmation could be helpful (if it doesn't make the code too ugly). :-)
Comment #4
jhriggs commentedThis is old, and there doesn't appear to be much interest. Closing for now.