Skip to content

Com_installer Enhancements#1437

Merged
hubzero-admin merged 4 commits intohubzero:devfrom
erichhuebner:com_installer_enhancements
Aug 11, 2020
Merged

Com_installer Enhancements#1437
hubzero-admin merged 4 commits intohubzero:devfrom
erichhuebner:com_installer_enhancements

Conversation

@erichhuebner
Copy link
Contributor

No description provided.

@hubzero-admin hubzero-admin merged commit 4857842 into hubzero:dev Aug 11, 2020
@datafatmunger
Copy link
Contributor

From Slack:

jbg 5:55 PM
this code looks sort of dubious to me: https://github.com/hubzero/hubzero-cms/blob/6a515b7e1b2c6179e269e51b9d2c5f0d6ce41e5c/core/components/com_installer/admin/controllers/manage.php
publishTask, around line 237 ... wasn't part of the PR, i think ... dunno how i saw it with anthony's uber-scroll ... also maybe i don't understand the context. 🤷

GitHubGitHub
hubzero/hubzero-cms
Platform for Scientific Collaboration. Contribute to hubzero/hubzero-cms development by creating an account on GitHub.

Jeff Kayser 5:59 PM
exit — Output a message and terminate the current script
5:59
That seems bad.
5:59
The rest is lost in the abstractness of the hub’s layers for me, so nothing jumps out in particular.

jbg 6:00 PM
i think you can successfully install 1 or more extensions, have a fail ... and falsely report success?
6:01
this success++ thing with if ($success)
6:01
combined with the continue in the fail?

Jeff Kayser 6:01 PM
Oh my, you’re right: $model = Extension::oneOrFail($id);
6:02
That [list of IDs] comes from a user-supplied var cid. (edited)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments