CMS MADE SIMPLE FORGE

Banners Module

 

[#11308] debug message if user tries to create a banner with a duplicate name

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Sat Feb 25 18:35:23 -0500 2017

Assigned To:
Version: 2.9.1
CMSMS Version: 2.1.6
Severity: Minor
Resolution: None
State: Open
Summary:
debug message if user tries to create a banner with a duplicate name
Detailed Description:
If a banner with the entered name already exits, the user is presented with:

Debug: (0.042034) - (usage: 4712616) - (peak: 4731552)
SELECT banner_id FROM cms_module_banners WHERE name = 'foo' LIMIT  1
Debug: (0.042116) - (usage: 4712744) - (peak: 4732024)

Should probably have a more graceful warning, or just add a sequential number to
the name when creating the ID.


History