Unable to delete page type when page type is in use by deleted pages.

Permalink 0 0 Browser Info Environment
I have been unable to delete page types with an error that says the page type is in use. I finally figured out that the page type is in use only by pages that are in the trash can. Emptying the trash fixes the problem.

The system needs to accommodate for that somehow especially since the trashed pages do not show up usually in the site map and page search. Most users do not even know the trash can exists.

Status: New

Still Valid:

This bug is valid a newer version of concrete5. View Current Bug

concrete5 Environment Information

# concrete5 Version

# concrete5 Packages
Deluxe Image Gallery (1.6.2), Nontab Scheduler (1.0).

# concrete5 Overrides
blocks/autonav, js/font.js, js/cufon-yui.js, themes/home, themes/landscapes-recreation, themes/golf

# Server Software
Apache/2.2.16 (Ubuntu)

# Server API

# PHP Version

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 50M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 150M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10