PerlDancer / PerlDancer/Dancer2
Enabling relative paths for views assignment in config.yml - Test Case Failure
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 604
- Forks
- 288
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 5
Description
My apologies, there was a request in #621 to provide a testcase, however if I cannot reopen the issue I would assume recreating a new one would be appropriate, if not please advise ...
#621 Testcase failing template with relative path as part of a DSL integration test.
typical angularjs setup:
app/index.html (containing INDEX)
app/views/partial.html (containing PARTIAL)
the dancer2 views is set to ./app thru config.yaml, both test cases fail parsing the index.html and partial.html.
https://github.com/visitbethel/Dancer2/commit/3867da391163a6db9314ad4f8aab2528b5ec9f15
And here the fix
https://github.com/visitbethel/Dancer2/commit/7a3b5ea06a12e88770a7eff1fe86db36872b8408
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 with the failing DSL integration test described in #621 and inspect how config.yml assigns the Dancer2 views path. Compare the behavior with commits 3867da3 and 7a3b5ea, then confirm that the index.html and partial.html cases pass when views is set to ./app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100