RED-10117: 500 Error in Dossier Template Admin Page
This commit is contained in:
parent
54513f02f6
commit
68cddcad2e
@ -181,7 +181,7 @@ public class FileEntity {
|
||||
|
||||
@JoinColumn(name = "file_id")
|
||||
@Fetch(FetchMode.SUBSELECT)
|
||||
@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
|
||||
@OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
|
||||
private List<FileAttributeEntity> fileAttributes = new ArrayList<>();
|
||||
|
||||
@Column(name = "dossier_id")
|
||||
@ -198,7 +198,7 @@ public class FileEntity {
|
||||
@Column
|
||||
private OffsetDateTime errorTimestamp;
|
||||
|
||||
@ElementCollection
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
private List<FileEntityComponentMappingVersionEntity> componentMappingVersions;
|
||||
|
||||
@Column
|
||||
|
||||
@ -107,7 +107,6 @@ public class FileStatusService {
|
||||
WebsocketService websocketService;
|
||||
|
||||
|
||||
@Transactional
|
||||
public List<FileModel> getAllRelevantStatusesForReanalysisScheduler() {
|
||||
|
||||
var fileEntities = fileStatusPersistenceService.getAllRelevantStatusesForReanalysisScheduler(fileManagementServiceSettings.getMaxErrorRetries());
|
||||
@ -211,7 +210,6 @@ public class FileStatusService {
|
||||
}
|
||||
|
||||
|
||||
@Transactional
|
||||
protected void addToAnalysisQueue(String dossierId, String fileId, boolean priority, Set<Integer> sectionsToReanalyse, boolean manualRedactionReanalyse) {
|
||||
|
||||
var dossier = dossierPersistenceService.getAndValidateDossier(dossierId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user