From the /sfSimpleCMSAdmin/list page, the plugin fails to create a new page with a dash "-" in the path name. It says the error is "A path can only be composed of alphanumeric characters and - _ / ."
It works when editing a created page because the regex validation is different there.
The following shows what needs to be changed to make the path naming regex validation consistent in sfSimpleCMSAdmin and sfSimpleCMS
+++ sfSimpleCMSPlugin/modules/sfSimpleCMSAdmin/validate/addPage.yml (working copy)
@@ -12,7 +12,7 @@
column: slug
unique_error: A page with this path already exits
sfRegexValidator:
- pattern: '#[a-zA-Z0-9\.-_/]*$#'
+ pattern: '#[a-zA-Z0-9-_/]*$#'
match: true
match_error: A path can only be composed of alphanumeric characters and - _ / .