Skip to content

ProcessModule::renderListTable() - Name of the module include numbers #164

@kixe

Description

@kixe

Short description of the issue

In case of included numbers in the modules /class name splitting of camelCase names doesn't work as expected. Example names: Process101, Process102 etc.

Expected behavior

Listing under the same headline
bildschirmfoto 2017-01-19 um 08 11 07

Actual behavior

Headline is generated twice
bildschirmfoto 2017-01-19 um 08 11 34

Actual behavior

Optional: Suggestion for a possible fix

add numbers to regex

// Line 620:
if(strpos($name, $section) !== 0 || preg_match('/' . $section . '[^A-Z0-9]/', $name)) {
// ...
}

Setup/Environment

  • ProcessWire version: 3.0.49 and any older

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions