[CONTEDIT-277] Block Node should not be ordered by index Created: 12/Nov/20  Updated: 19/Nov/20  Resolved: 19/Nov/20

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Bug Priority: Neutral
Reporter: Quach Hao Thien Assignee: Quach Hao Thien
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 4d 50m
Original Estimate: Not Specified

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
Epic Link: Stories App Migration
Sprint: CM & OC 15, CM & OC 16
Story Points: 8

 Description   

At the moment, the block is persisted to jcr in alphabet order, that make the block's order (node name) changed everytimes a new block was created/persisted

TODO:

  • Change the way to persist Block and populate Block to form,
  • No order by node name in jcr
  • Node name unchanged even a new node is persist in the middle 

ACs:

  • Block order is the same with order on Layout
  • Node name (of Block) not represent for the index of the block
  • Node name (of Block) is immutable - Do not be changed even a new Block was created in the middle of Block List

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