You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Template resource locator troubles when app code exists twice #29628
Setup ownCloud with two apps folders "apps" and "apps2"
Install "customgroups" app version 0.3.1 into "apps"
Install "customgroups" app version 0.3.5 into "apps2"
occ app:enable customgroups
Go to the "Custom groups" sections in the settings page
Inspect the customgroups "section" element
Expected result
Section element looks like this: <div id="customgroups" class="section" data-cancreategroups="true">
Actual result
Section element looks like this: <div id="customgroups" class="section">.
If you check the template file "customgroups/templates/index.php" you can see that the additional bit data-cancreategroups exists in the 0.3.5 template but not 0.3.1.
It looks like ownCloud is running the 0.3.5 version app but loads the template from 0.3.1. And who knows if it's not loading other resources from there, to be checked!
You can also run the unit tests with make test-php inside the 0.3.5 version, the output shows the same problem:
Activity
VicDeo commentedon Dec 8, 2017
@PVince81 #29747 partially fixes that (for templates)
VicDeo commentedon Dec 8, 2017
hm. I can see
<div id="customgroups" class="section" data-cancreategroups="true">in WebUI but CLI test still failslock commentedon Aug 2, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.