Skip to content

Conversation

@nickvergessen
Copy link
Member

Steps

  1. Check out master of server
  2. Check out stable17 of activity app
  3. Try to enable it via CLI, to fix it for master 💥

The UI had the red button to force enable it. This is now possible via:
occ app:enable activity --force

cc @jancborchardt should help you a lot

@nickvergessen nickvergessen force-pushed the feature/noid/allow-to-force-enable-via-cli branch from 5a48784 to 1baeef8 Compare September 5, 2019 13:15
@kesselb
Copy link
Contributor

kesselb commented Sep 5, 2019

TypeError: Argument 2 passed to OC\App\AppManager::__construct() must implement interface OCP\IConfig, instance of Mock_AppConfig_4eb7dda7 given, called in /drone/src/tests/lib/App/AppManagerTest.php on line 114

Nice to have: A test case for tests/Core/Command/Apps/AppsEnableTest.php but a incompatible fake app might be required.

This was referenced Dec 11, 2019
@ChristophWurst ChristophWurst force-pushed the feature/noid/allow-to-force-enable-via-cli branch from 1baeef8 to 05102d7 Compare December 13, 2019 11:14
@ChristophWurst
Copy link
Member

rebased, squashed and tests fixed :)

Copy link
Member

@georgehrke georgehrke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Dec 13, 2019
@blizzz
Copy link
Member

blizzz commented Dec 13, 2019

TypeError: Argument 2 passed to OC\App\AppManager::__construct() must implement interface OCP\IConfig, instance of Mock_AppConfig_5b004e91 given, called in /drone/src/tests/lib/AppTest.php on line 556

Co-authored-by: Christoph Wurst <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst ChristophWurst force-pushed the feature/noid/allow-to-force-enable-via-cli branch from 05102d7 to 3eee359 Compare December 13, 2019 12:06
@nickvergessen nickvergessen merged commit faf58e4 into master Dec 16, 2019
@nickvergessen nickvergessen deleted the feature/noid/allow-to-force-enable-via-cli branch December 16, 2019 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: apps management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants