[Bug]: if an app exists in `apps` and `custom_apps` folder, `apps` will be picked first for js and css ressources
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Bug description
When you use addScript and request a script of your app to be loaded
AND you have different versions of the app in both of your apps folders
THEN you will have ressources loaded from the apps folder, even if the version is lower
Steps to reproduce
- Setup a
custom_appsfolder - Install latest talk in
custom_apps - Install old talk (11.x.x) in
appsfolder - Load the page

Expected behavior
All the ressources requests should be loaded from the default latest app root instead
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 tracing how addScript resolves JavaScript and CSS resources when the same app exists in both apps and custom_apps, then reproduce the two-version Talk setup described. Done means resource requests consistently use the latest app from the default root rather than the older copy in apps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript, php
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100