Middleware wants to add file to its cache after warming up

Open
#512 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
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start by reproducing the selfservice TIQR-token flow after warming the cache, then inspect how the middleware writes to /opt/openconext/OpenConext-middleware-4.5.1/var/cache/prod/twig/14. Done means adding a token succeeds without the cache-directory write error after the cache has been warmed.

Written by the indexing model from the issue text.

Description

Imported

This issue is imported from pivotal - Originaly created at Sep 15, 2022 by Bart Geesink

I have warmed up the cache. When I try to add a TIQR token in selfservice, it will call middleware. Middleware will then return this error:

\"An exception has been thrown during the rendering of a template (\"Unable to write in the cache directory (/opt/openconext/OpenConext-middleware-4.5.1/var/cache/prod/twig/14).\").\"

The expected behaviour is that middleware already has it's cache warmed up and does not need to add more to it

Dominant language
PHP
Stars
3
Forks
3
Avg merge
6d 7h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 OpenConext/Stepup-Middleware

All issues in OpenConext/Stepup-Middleware

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.