---
title: "Bugs Fixing"
manual: "TYPO3 REST API"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/sourcebroker/t3api:development-typical-use-cases-bugsfixing@5.0"
source: "Miscellaneous/Development/TypicalUseCases/BugsFixing/Index.rst"
rendered: "2026-12-02T10:02:23+00:00"
---

# Bugs Fixing {#development-typical-use-cases-bugsfixing}

1.  Fork

    Make your fork of t3api on github [https://github.com/sourcebroker/t3api](https://github.com/sourcebroker/t3api)
1.  Clone

    Clone your forked repo locally.
1.  First run of ddev

    Go inside cloned repo and run: `ddev restart`
1.  Install and make init test

    Inside cloned repo run: `ddev ci 14`

    This will install project locally (for TYPO3 14) and make tests to check if your
    installed version is working well before you start to modify it.
1.  Branch

    Create branch in your repo.
1.  Fix bug

    When you modify code of t3api then a symlinked version at `.test/[T3_VERSION]/src/t3api`
    is also modified and you can access your modified version of t3api at fully working TYPO3
    `https://[T3_VERSION].t3api.ddev.site`

    Open [https://t3api.ddev.site](https://t3api.ddev.site) to get overview on user/password to backend.

    Look at `.test/[T3_VERSION]/src/`.
    Except `t3api` you have there two extensions that can be helpful for testing.

    1.  First extension is `site`, which is regular TYPO3 local mods extension.
    1.  Second extension is `t3apinews`, which is extension that expose
        extension `news` models and is supposed to have only mods for news.
        To test it open:

        -   [https://14.t3api.ddev.site/\_api](https://14.t3api.ddev.site/_api)
        -   [https://14.t3api.ddev.site/\_api/news/news](https://14.t3api.ddev.site/_api/news/news)
        -   [https://14.t3api.ddev.site/\_api/news/news/1](https://14.t3api.ddev.site/_api/news/news/1)
        -   [https://14.t3api.ddev.site/\_api/news/categories](https://14.t3api.ddev.site/_api/news/categories)
        -   etc

    Sometimes you may want to flush cache for the TYPO3 located at `.test/[T3_VERSION]/`.
    Of course you can do `ddev exec "cd .test/[T3_VERSION] && ./vendor/bin/typo3 cache:flush"`.
    But you can also use special ddev command `ddev cache-flush`
1.  Documentation

    Run `ddev docs` to run documentation in watch mode. Browser should open automatically.
    You can modify files at `Documentation` and watch in real time how the docs will
    looks like.
    Look at [https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Index.html](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Index.html) for info about
    formatting possibilities.
1.  Automated fixes and tests

    If you think you are ready with your bug then:

    -   run automated fixes: `ddev fix`
    -   run automated test on current TYPO3: `ddev ci`

    If all is ok then you can run full matrix test as it will be done on github.

    -   `ddev ci all`
1.  Commit, push and make PR

    [https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
