PerlDancer / PerlDancer/Dancer2
Session written to storage before after hooks executed
Open
Nobody has claimed this yet.
Bug
Question
- Dominant language
- Perl
- Stars
- 604
- Forks
- 288
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 5
Description
Arising from #1256:
If you make changes to the session in an
afterhook, your changes will not be written to storage, because writing sessions to storage also takes place in an (earlier)afterhook.
This is a change from Dancer1. Is this intentional?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue #1256 and tracing the session storage and after-hook ordering described here. Compare the behavior with Dancer1, then establish whether the ordering is intentional and document or implement the agreed behavior with regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100