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

OrderPdfRepository::find() の引数の間違い? #6107

Open
nanasess opened this issue Mar 6, 2024 · 3 comments
Open

OrderPdfRepository::find() の引数の間違い? #6107

nanasess opened this issue Mar 6, 2024 · 3 comments
Milestone

Comments

@nanasess
Copy link
Contributor

nanasess commented Mar 6, 2024

find() の引数はID(プライマリーキー)のはず。
少なくとも UserInterface ではないはず

$OrderPdf = $this->orderPdfRepository->find($this->getUser());

@dotani1111
Copy link
Contributor

@nanasess
issueありがとうございます。
調査進めたいと思います。

@dotani1111 dotani1111 added this to the 4.3.0 milestone Mar 11, 2024
@chihiro-adachi
Copy link
Contributor

@nanasess @dataich
member_idが主キーなので上手くいってるようです。
https://github.com/EC-CUBE/ec-cube/blob/4.3/src/Eccube/Entity/OrderPdf.php#L38

@dataich
Copy link
Contributor

dataich commented Apr 22, 2024

@chihiro-adachi メンション先を間違えていらっしゃるようです🙇‍♂️

@dotani1111 dotani1111 modified the milestones: 4.3.0, 4.3.x Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants