#777 ✓resolved
dleffler

Feature Request: makeSefUrl/uniqueness_of needs rewritten to allow some duplicates

Reported by dleffler | October 18th, 2012 @ 04:05 PM | in 2.1.1 (closed)

In the help module, expCats, etc... we CAN have duplicate sef_url's in some cases since they are aggregated by help_version, module, etc... We've already rewritten the help model code to cope with this, but need a more universal solution since we are running into issues with other modules.

In a basic sense, we need to be able to pass a 'limiter' param to the expValidator::uniqueness_of method with an additonal sql statement to limit the scope of checking for existing duplicates.

Part of this was caused by removing the redundant MakeSefUrl code from expRecord, which wasn't redundant since the same method in expCore is for 'sef_name' used in sections and we use 'sef_url' everywhere else.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Tags

Pages