Uncomment specifyuser_spprincipal usage#7862
Uncomment specifyuser_spprincipal usage#7862alesan99 wants to merge 132 commits intov7.12.0-prereleasefrom
specifyuser_spprincipal usage#7862Conversation
|
@specify/ux-testing Updated testing instructions since opening a 7 db in 6 is not possible |
Triggered by aadcb21 on branch refs/heads/issue-6108
Triggered by a6a8452 on branch refs/heads/issue-6108
Triggered by bd177e4 on branch refs/heads/main
Updated pull request template to include migration function checklist.
Triggered by 05b184e on branch refs/heads/issue-7825
Triggered by 442489d on branch refs/heads/main
There was a problem hiding this comment.
Testing instructions
-
Use a db created with the guided setup in Specify 7
-
Make sure creating a user doesn't cause a crash
-
Open up an existing database made in Specify 6 in Specify 7
-
Make sure creating a user doesn't cause a crash in Specify 7
Using the same database I made with Specify 7:
- Make sure creating a user properly creates Specify 6 permissions. You can verify this by logging into the user in Specify 6 (if you make them a manager in 7, it should work when you log into them in 6).
Hmm...
13:54:25 DEBUG brc.util.FileCache:357 - Loading old cache mapping data from longTerm.Cache
13:54:25 WARN brc.util.FileCache:417 - Unable to locate old cache mapping file. Building cache... 0 / 0
13:54:25 DEBUG brc.util.FileCache:520 - Cache Size: 0 / 0
13:54:25 DEBUG brc.util.FileCache:357 - Loading old cache mapping data from forms.Cache
13:54:25 WARN brc.util.FileCache:417 - Unable to locate old cache mapping file. Building cache... 0 / 0
13:54:25 DEBUG brc.util.FileCache:520 - Cache Size: 0 / 0
13:54:27 DEBUG ui.db.PropertiesPickListAdapter:292 - Saving PickList
13:54:27 DEBUG ui.db.PropertiesPickListAdapter:296 - [login.databases][KUEntomology_2026_02_27,newdb_2026_03_30,newdb_sp6_2026_02_23,specify]
13:54:27 DEBUG ui.db.PropertiesPickListAdapter:308 - [login.databases_selected][newdb_2026_03_30]
13:54:27 DEBUG ui.db.PropertiesPickListAdapter:292 - Saving PickList
13:54:27 DEBUG ui.db.PropertiesPickListAdapter:296 - [login.servers][localhost,127.0.0.1]
13:54:27 DEBUG ui.db.PropertiesPickListAdapter:308 - [login.servers_selected][127.0.0.1]
13:54:27 DEBUG brc.ui.UIHelper:1647 - try login
13:54:27 DEBUG specify.module.DbLoginCallbackHandler:89 - handle
13:54:29 ERROR ui.db.DatabaseLoginPanel$17:1340 - com.install4j.api.launcher.SplashScreen$ConnectionException: no splash screen available
13:54:35 DEBUG specify.dbsupport.SpecifySchemaUpdateService:211 - appVerNumArg: [6.8.03] dbVersion from XML[2.10] appVersion[6.8.03] schemaVersion[2.10] spverId[1] recVerNum[1]
13:54:35 INFO brc.dbsupport.HibernateUtil:198 - Using database [jdbc:mysql://127.0.0.1:3306/newdb_2026_03_30?characterEncoding=UTF-8&autoReconnect=true]
13:54:38 DEBUG brc.ui.UIHelper$1DBListener:1854 - UIHelper.doLogin[DBListener]
13:54:38 DEBUG brc.specify.Specify:2940 - loggedIn - database[newdb_2026_03_30] username[specify6]
13:54:38 DEBUG brc.specify.Specify:2474 - restartApp
13:54:38 DEBUG core.db.DBTableIdMgr:141 - Reading in datamodel file: /Applications/Specify/config/specify_datamodel.xml to create and populate DBTableMgr
13:54:38 DEBUG core.db.DBTableIdMgr:311 - Done Reading in datamodel file: /Applications/Specify/config/specify_datamodel.xml
13:54:38 WARN hibernate.util.JDBCExceptionReporter:77 - SQL Error: 1054, SQLState: 42S22
13:54:38 ERROR hibernate.util.JDBCExceptionReporter:78 - Unknown column 'division0_.divisionId' in 'SELECT'
org.hibernate.exception.SQLGrammarException: could not load an entity: [edu.ku.brc.specify.datamodel.Division#1]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
|
I'll leave it as note here to keep everything connected.
Those testing instructions should probably be something more along the lines of:
... Which is already the case in the PR which supersedes this one: #7868 |
Fixes # 7861
Checklist
self-explanatory (or properly documented)
Testing instructions