Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: Use generateRandomString() instead of uniqid() #1523

Merged
merged 1 commit into from Apr 12, 2017

Conversation

kdambekalns
Copy link
Member

This reduces the risk of collision on temporary names for nodes and
files, as well as cache markers.

This reduces the risk of collision on temporary names for nodes and
files, as well as cache markers.
@mention-bot
Copy link

@kdambekalns, thanks for your PR! By analyzing the history of the files in this pull request, we identified @radmiraal, @robertlemke and @bwaidelich to be potential reviewers.

Copy link
Member

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 (by reading)

@kdambekalns kdambekalns merged commit d613b6f into neos:2.0 Apr 12, 2017
@kdambekalns kdambekalns deleted the avoid-uniqid branch April 12, 2017 08:39
@bwaidelich
Copy link
Member

Too late, but this seems to break the random node name generation:
From Slack:

CRITICAL  ContentRepository    Exception #1292428697 in line 1124 of /data/www/releases/current/Data/Temporary/Production/Cache/Code/Flow_Object_Classes/Neos_ContentRepository_Domain_Model_Node.php: Invalid node name "node-whO1OcvF6TFBs" (a node name must only contain lowercase characters, numbers and the "-" sign).

kdambekalns added a commit to kdambekalns/neos-development-collection that referenced this pull request Apr 12, 2017
The changed generation of node names must avoid uppercase characters.

This is a followup to neos#1523
neos-bot pushed a commit to neos/neos that referenced this pull request Apr 12, 2017
The changed generation of node names must avoid uppercase characters.

This is a followup to neos/neos-development-collection#1523
neos-bot pushed a commit to neos/typo3cr that referenced this pull request Apr 12, 2017
The changed generation of node names must avoid uppercase characters.

This is a followup to neos/neos-development-collection#1523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants