[EXCONTRANS-241] Sometimes submit batch throws UnsupportedOperationException Created: 19/Jun/18  Updated: 23/Jul/18  Resolved: 26/Jun/18

Status: Closed
Project: Content Translation Extended (CTX)
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.0

Type: Bug Priority: Major
Reporter: Chuong Doan Huy Assignee: Chuong Doan Huy
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: Not Specified
Original Estimate: 0d

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

        submittedSubmissions.addAll(this.submissionStore.getItemsByBatchId(TranslationConstants.TRANSLATED_QUEUE_PATH, batchId, null));

   submittedSubmissions.addAll(this.submissionStore.getItemsByBatchId(TranslationConstants.IMPORTED_QUEUE_PATH, batchId, null));

Since functions are not reversible, the transform is one-way and new items cannot be stored in the returned list. The add, addAll and set methods are unsupported in the returned list.


Generated at Mon Feb 12 00:29:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.