nextcloud / nextcloud/cookbook

Make getting recipes by keyword under SQLite work

Open
#1,197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Backend bug php
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Currently, this test fails under SQLite:

https://github.com/nextcloud/cookbook/blob/ab0a834b83aca08ea002be12d9ef211a391dc75f/tests/Integration/Db/RecipeDb/RecipeDbBigTest.php#L117-L120

There is nothing returned from the database. The test is skipped for now but the culprit should be solved somehow.

Contributor guide

Open the contributing guide

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.

Research direction

Start with tests/Integration/Db/RecipeDb/RecipeDbBigTest.php at lines 117-120 and reproduce the skipped keyword lookup under SQLite. Trace the database query used by this test and identify why it returns no recipes. Done means the test returns the expected recipes under SQLite and can be enabled without failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
databases, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.