远程一对一hasOneThrough中的array_flip函数导致相同结果为null的情况还没有修复吗?

Open
#450 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
database

Research direction

Start by locating the ORM implementation of hasOneThrough and the use of array_flip in the relation path. Reproduce the reported case involving identical results becoming null, then trace the behavior and its existing coverage. Done means the affected relation no longer returns null for that case, with a regression check if the project provides one.

Written by the indexing model from the issue text.

Description

感觉去年就遇到这个问题了

Dominant language
PHP
Stars
437
Forks
188
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from top-think/think-orm

All issues in top-think/think-orm

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.