• Tristan Cavelier's avatar
    erp5_discussion: change reference generation behavior on forum thread creation · 17bd328d
    Tristan Cavelier authored
    Previous behavior was to generate reference this way : `sanitized title` if reference was not already existing else `random "-" sanitized title`.
    Now it generates `sanitized title "-" random` with:
    - `random` at the end to maximize search engine optimization;
    - `random` every time present to prevent creating document with the same reference by mistake.
    
    + update tests
    17bd328d
Name
Last commit
Last update
..
ActionTemplateItem/portal_types Loading commit data...
ModuleTemplateItem Loading commit data...
PathTemplateItem Loading commit data...
PortalTypeAllowedContentTypeTemplateItem Loading commit data...
PortalTypeBaseCategoryTemplateItem Loading commit data...
PortalTypeHiddenContentTypeTemplateItem Loading commit data...
PortalTypePropertySheetTemplateItem Loading commit data...
PortalTypeTemplateItem/portal_types Loading commit data...
PortalTypeWorkflowChainTemplateItem Loading commit data...
PropertySheetTemplateItem/portal_property_sheets Loading commit data...
SkinTemplateItem/portal_skins Loading commit data...
bt Loading commit data...