-
Notifications
You must be signed in to change notification settings - Fork 143
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
#12550 - Hide jurisdiction fields when configured #12618
#12550 - Hide jurisdiction fields when configured #12618
Conversation
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12618 |
the server cannot be started because in the StartupShutdownService the "createConstantFacilities()" method runs before "upgrade()" method. This leads to an error as the "defaultInfrastructure" field is not created yet. |
|
- Only regions, districts and communities can be made default - Add parent validation to make sure that e.g. a district from another region than the default region can be set as default - Add column to grids
Apart from that:
This is still pretty messy and I'd like to have it more consistent, but that would mean A LOT more effort that won't really be necessary at this point. |
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12618 |
@@ -3141,6 +3141,12 @@ public void onUpgrade(SQLiteDatabase db, ConnectionSource connectionSource, int | |||
getDao(PathogenTest.class) | |||
.executeRaw("ALTER TABLE pathogentest ADD COLUMN testedPathogen varchar(255);"); | |||
|
|||
case 353: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this version needs to be updated to 354
|
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12618 |
|
@sergiupacurariu Updated DatabaseHelper. Yes, that needs to be mentioned, but since these changes are only on dev until the next release, it doesn't make sense to add these hints right now. I'll add them to the release notes and the Wiki page during the release. |
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12618 |
Fixes #12550