Answers.Body: <p>Update: Fix is at <a href="https://github.com/civicrm/civicrm-core/pull/25982" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/25982</a></p>
  <hr />
  <p>Git bisect says it is caused by <a href="https://github.com/civicrm/civicrm-core/pull/24727/commits/f40da46a0dd2d7f8bdb5ed2ff3a453b527ebef94" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/24727/commits/f40da46a0dd2d7f8bdb5ed2ff3a453b527ebef94</a>. I'll update the lab ticket.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-04T13:24:40.067Z
Answers.Text: This is wonderful, it fixes the issue. Thanks for creating the ticket AND solving it!
Answers.UserDisplayName: RayWright
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-01T16:24:41.840Z
Answers.LastActivityDate: 2023-04-02T21:05:56.557Z
Answers.LastEditDate: 2023-04-02T21:05:56.557Z
Answers.UserDisplayName: Demerit
Body: <p>I've been testing CiviCRM 5.57.4 and noticed that I can no longer type in the Case ID when searching for the case to file an activity to. (I'm in Drupal 7) In version 5.45.7 it was still working. I verified that on dmaster it also does not work - I did create a case or two to test with since the sample data doesn't include cases.</p>
  <p><a href="https://i.sstatic.net/ZPyVP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ZPyVP.png" alt="working on 5.45.7" /></a></p>
  <p><a href="https://i.sstatic.net/gszVG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gszVG.png" alt="not working dmaster 5.61" /></a></p>
  <p>I don't see any changes to the core file Case/Form/ActivityToCase.php that jump out at me as the cause. Does anyone know where else I could take a peek?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-31T23:54:49.653Z
Comments.Text: There's been lots of changes to entityref to support formbuilder et al. Possibly in there somewhere? I admit I haven't been following it too closely.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-01T00:02:09.027Z
Comments.Text: A couple candidates, including one which I, uh, merged, that are around the right timeframe: https://github.com/civicrm/civicrm-core/pull/24793, https://github.com/civicrm/civicrm-core/pull/24976, https://github.com/civicrm/civicrm-core/pull/24974
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-01T00:07:00.860Z
Comments.Text: Ok it still works in 5.56, so it's not the one I merged. Phew!
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-01T00:17:26.320Z
Comments.Text: In the meantime have created a ticket: https://lab.civicrm.org/dev/core/-/issues/4217
Comments.UserDisplayName: Demerit
Tags: <civicase><activities>
Title: File on case no longer works by Case ID
ThreadText: # File on case no longer works by Case ID
  
  (Asked by: username_0 on 2023-03-31)
  
  I've been testing CiviCRM 5.57.4 and noticed that I can no longer type in the Case ID when searching for the case to file an activity to. (I'm in Drupal 7) In version 5.45.7 it was still working. I verified that on dmaster it also does not work - I did create a case or two to test with since the sample data doesn't include cases.
  
  [![working on 5.45.7](https://i.sstatic.net/ZPyVP.png)](https://i.sstatic.net/ZPyVP.png)
  
  [![not working dmaster 5.61](https://i.sstatic.net/gszVG.png)](https://i.sstatic.net/gszVG.png)
  
  I don't see any changes to the core file Case/Form/ActivityToCase.php that jump out at me as the cause. Does anyone know where else I could take a peek?
  
  **Tags:** civicase, activities
  
  > **Comments:**
  > **username_1**: There's been lots of changes to entityref to support formbuilder et al. Possibly in there somewhere? I admit I haven't been following it too closely.  
  > **username_1**: A couple candidates, including one which I, uh, merged, that are around the right timeframe: https://github.com/civicrm/civicrm-core/pull/24793, https://github.com/civicrm/civicrm-core/pull/24976, https://github.com/civicrm/civicrm-core/pull/24974  
  > **username_1**: Ok it still works in 5.56, so it's not the one I merged. Phew!  
  > **username_1**: In the meantime have created a ticket: https://lab.civicrm.org/dev/core/-/issues/4217  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-04-01. Score: 1 | Accepted answer
  
  Update: Fix is at <https://github.com/civicrm/civicrm-core/pull/25982>
  
  ---
  
  Git bisect says it is caused by <https://github.com/civicrm/civicrm-core/pull/24727/commits/f40da46a0dd2d7f8bdb5ed2ff3a453b527ebef94>. I'll update the lab ticket.
  
  > **Comments:**
  > **username_0**: This is wonderful, it fixes the issue. Thanks for creating the ticket AND solving it!  
  
  ---
  
  