Skip to content

Settings fail to load when P4 Username contains '\' #13

@razaraz

Description

@razaraz

The P4 users for our server use the AD names DomainName\ UserName. I never had settings persistence on P4V, and investigating this today, I found the culprit:

In LocalSettings.ini, there is an XML Node that is named: ActiveChangelist[Server][User][Workspace]. This node causes settings loading to throw an XmlException with the message:

The '\' character, hexadecimal value 0x5C, cannot be included in a name. Line 170, position 48.

This then prevents settings from being loaded, and a fresh empty settings file saved on top of it.

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