hard-coded German "magic number" strings do not translate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Goobi.Production |
Medium
|
Unassigned | ||
| 1.8 |
Medium
|
Unassigned |
Bug Description
In AktuelleSchritt
/* Schritteigenschaft seg = ... */
- seg.setTitel(
- seg.setTitel(
This should be made international, but functionality depends on these strings, notably in
- HistoryAnalyser
- HistoryAnalyser
- HistoryJob.java, l. 279: if (prop.getTitel(
There are aven more dependencies on the content of Schritteigensch
----------
if (se.getTitel(
|| se.getTitel(
if (!se.getWert(
conflicts.add(new ImportConflicts
.getWERKSCA
}
pages = true;
} else if (se.getTitel(
----------
Translation should be possible here, too.
Matthias Ronge (matthias-ronge) wrote : | #1 |
Data base content must not be changed. By mapping those "magic strings" to their data base representations, we should replace them with Enum types.
Changed in goobi-production: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changes must respect that those magic-number values are already in productive databases around the world. If internals are redesigned, this must be taken into account.