Problem/Motivation

While using the "experimental" paragraphs widget, when you "Remove" a paragraph and then click either "Collapse all" or "Edit all", the removed paragraphs is restored.

Proposed resolution

Adjust ParagraphsWidget::changeAllEditModeSubmit so that it does not change the 'mode' of a paragraphs, if it is set to 'remove'.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

VladimirMarko created an issue. See original summary.

VladimirMarko’s picture

StatusFileSize
new1022 bytes

Fixed the bug. Test coverage still needs to be expanded.

VladimirMarko’s picture

Status: Active » Needs review
miro_dietiker’s picture

Status: Needs review » Needs work

So for a regression, we need test coverage.

miro_dietiker’s picture

Priority: Normal » Major

This got off my radar. Raising prio.

VladimirMarko’s picture

Status: Needs work » Needs review
StatusFileSize
new1.41 KB
new1.41 KB
new2.53 KB

Added a test.

The last submitted patch, 7: stop_collapse_all_and-2896867-7-test-only.patch, failed testing. View results

berdir’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

miro_dietiker’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thx.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.