Project

General

Profile

Actions

Bug #19930

closed

Supposedly empty project descriptions have <p><br></p>

Added by Peter Amstutz almost 2 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
2.0
Release relationship:
Auto

Description

We configured non-empty description for freezing which works fine for a project where no description was set. After adding a description, saving, deleting the description, saving again however also projects with empty descriptions can be frozen without an error. The reason is that the description is not really empty but rather contains "<p><br></p>"

Proposed solution: workbench 2 should recognize situations where the text is (effectively) empty (only consists of tags, whitespace, &nbsp and no content) and turn it into an empty string.


Subtasks 1 (0 open1 closed)

Task #20110: Review 19930-saving-empty-project-descriptionsResolvedLucas Di Pentima02/28/2023Actions
Actions #1

Updated by Peter Amstutz almost 2 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz almost 2 years ago

  • Story points set to 2.0
  • Target version changed from Future to To be scheduled
  • Description updated (diff)
Actions #4

Updated by Peter Amstutz almost 2 years ago

  • Description updated (diff)
Actions #5

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from To be scheduled to 2023-02-15 sprint
Actions #6

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2023-02-15 sprint to To be scheduled
Actions #7

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from To be scheduled to 2023-03-01 sprint
Actions #8

Updated by Peter Amstutz almost 2 years ago

  • Assigned To set to Stephen Smith
Actions #9

Updated by Stephen Smith almost 2 years ago

  • Status changed from New to In Progress
Actions #10

Updated by Stephen Smith almost 2 years ago

Changes at arvados-workbench2|3ef39d864a28ff8c91eca13ce5363dda4ea70fe2
Tests developer-tests-workbench2: #1112

  • Added check for empty project description input, send null instead of empty html tags when empty
  • Add cypress test to verify empty project descriptions are saved as null
Actions #11

Updated by Lucas Di Pentima almost 2 years ago

This works great, thanks! LGTM

Actions #12

Updated by Stephen Smith almost 2 years ago

  • Status changed from In Progress to Resolved
Actions #13

Updated by Peter Amstutz 8 months ago

  • Release set to 57
Actions

Also available in: Atom PDF