Issue Task Closed

#69050Supply a Utility method to create unique ids in the core

Stephan Großberndt 08/14/15, 11:22 updated 10/19/17, 21:52

Description

Currently there are about hundred places in core where unique ids are created using different code:



On windows and in cygwin environments uniqid() has a resolution of one second which results in identical ids if uniqid('Foo'); or uniqid('Foo', TRUE); is called.

We need a utility method that creates unique ids even if called multiple times a second. its ids must not contain . (dots) (added by the , TRUE)) so they are valid in JavaScript context too. In some contexts the ids must start with a letter to be valid.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.