-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Guid::uuid4() doesn't generate a Guid #306
Comments
Also consider this:
will return:
|
Are these two different issues, or do you consider them related? As for the 1st issue, please see #301. The static methods are not part of the interface and should not be used from the subclasses. This is a bug. I’m sorry for the confusion. |
As I am trying to create Guids in both cases, those issues are related to
me, maybe from a technical perspective they aren't for you.
I can create separate issues if you want to.
…On Mon, Apr 6, 2020, 21:32 Ben Ramsey ***@***.***> wrote:
Are these two different issues, or do you consider them related?
As for the 1st issue, please see #301
<#301>. The static methods are not
part of the interface and should not be used from the subclasses. This is a
bug. I’m sorry for the confusion.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#306 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADAJPANVJB7E46ZH6GI6H3RLJ7EBANCNFSM4MCWVZBA>
.
|
The first issue is an oversight on my part. You should not have access to I’ll look into the second issue. At a glance, this looks like it should work, so I think you’ve uncovered another bug here. Thanks! |
This is solved in master branch already, not working on 4.0.1 though. |
The master branch is the same as 4.0.1 right now. The only difference is white space. How can this work in master and not in 4.0.1? |
Can't tell, that's what I tried. Don't trust, verify.
…On Mon, Apr 6, 2020, 22:54 Ben Ramsey ***@***.***> wrote:
The master branch is the same as 4.0.1 right now. The only difference is
white space. How can this work in master and not in 4.0.1?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#306 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADAJPDMOSGITDAMQD7OAQ3RLKIXNANCNFSM4MCWVZBA>
.
|
@ramsey It's not fixed. The bug just doesn't always appear, it's random. I posted more details in the separate issue: #314 (comment) |
echo get_class(Ramsey\Uuid\Guid\Guid::uuid4());
will return
Ramsey\Uuid\Rfc4122\UuidV4
.I didn't expect this behavior at all.
The text was updated successfully, but these errors were encountered: