Commit 6bf4fec
Fix null safety bugs in issue and journal articlemeta export formatters (#1415)
* Initial plan
* Fix null safety bugs in issue and journal articlemeta formatters
- issue/_format_collection_info: add null check for scielo_journal
- issue/_format_issn_info: add null check for journal.official
- journal/_format_title_journal_info: add null check for self.official
before accessing old_title and new_title
- journal/_format_issn_info: fix inconsistent self.obj.official to
self.official for issn_electronic access
Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>1 parent 68dc536 commit 6bf4fec
File tree
2 files changed
+8
-5
lines changed- issue/formats
- journal/formats
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
316 | | - | |
| 318 | + | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
0 commit comments