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

jhriggs’s picture

As 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.

The Directive’s picture

Quotes 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.

jhriggs’s picture

Assigned: Unassigned » jhriggs
Category: bug » feature

OK. A notice/confirmation could be helpful (if it doesn't make the code too ugly). :-)

jhriggs’s picture

Version: » 4.5.x-1.x-dev
Status: Active » Closed (works as designed)

This is old, and there doesn't appear to be much interest. Closing for now.