Commit 0e2d676
Fix GEDCOM import not populating people and family tables
- BelongsToTenant::getTenantId() now uses null-safe ?-> operators so it
returns null safely when auth()->user() is null (queue job context).
- Global scope now guards with auth()->check() before calling getTenantId()
so the Error path is never reached.
- ImportGedcom and ImportGrampsXml now pass config('database.default')
instead of $job->getConnectionName() (which returned null) to the
GedcomParser, avoiding null-to-string coercion deprecations.
Co-authored-by: delicatacurtis <247246500+delicatacurtis@users.noreply.github.com>1 parent f159583 commit 0e2d676
File tree
3 files changed
+7
-4
lines changed- app
- Jobs
- Traits
3 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
0 commit comments