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
For various reasons (e.g. [http://community.elgg.org/pg/forum/topic/876636/git-repo-layout-and-naming-suggestions/ cloning a repo]), one may end up with a plugin with the incorrect directory name inside mod, which can lead to serious problems (e.g. if the owner renames the folder after enabling!).
Adding an optional (for now at least) id element would allow us to help admins correct this error immediately.
The text was updated successfully, but these errors were encountered:
This is better than nothing, but I'd like a name mismatch to still be valid but canActivate() = false and to generate a red warning like the unmet dependencies. Unfortunately the warning code assumes that not being to activate implies it must be a deps problem, and I don't want to add a bunch more branching logic to the plugin full view.
Fixes #4555: adds "id" to manifest and, if present, assert that directory name matches.
Also documents $plugin in some views to help IDEs with code comprehension
Changeset: 8a7e22b
jrtilson
pushed a commit
to THINKGlobalSchool/Elgg
that referenced
this issue
May 15, 2013
Original ticket http://trac.elgg.org/ticket/4555 on 42419161-04-22 by trac user mrclay, assigned to unknown.
Elgg version: 1.8.5
For various reasons (e.g. [http://community.elgg.org/pg/forum/topic/876636/git-repo-layout-and-naming-suggestions/ cloning a repo]), one may end up with a plugin with the incorrect directory name inside
mod
, which can lead to serious problems (e.g. if the owner renames the folder after enabling!).Adding an optional (for now at least)
id
element would allow us to help admins correct this error immediately.The text was updated successfully, but these errors were encountered: