Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harvester uses legacy theme (or fails if that is not allowed) (BL-13174) #6355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JohnThomson
Copy link
Contributor

@JohnThomson JohnThomson commented Mar 22, 2024

The essence of this change is the code in AppearanceSettings that always uses legacy theme if running in harvester mode, the code in BookStorage that throws a special exception if running in harvester mode and not allowed to use legacy, and the code in CreateArtifactsCommand which catches that exception and reports a new error code. I also created a unit test and had to change a few things to let it work; and discovered that one of the arguments to the BookStorage Factory was unused, and removed it from there and various related methods.


This change is Reviewable

The essence of this change is the code in AppearanceSettings that always uses legacy theme if running in harvester mode, the code in BookStorage that throws a special exception if running in harvester mode and not allowed to use legacy, and the code in CreateArtifactsCommand which catches that exception and reports a new error code. I also created a unit test and had to change a few things to let it work; and discovered that one of the arguments to the BookStorage Factory was unused, and removed it from there and various related methods.
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.

1 participant