Project

General

Profile

Actions

Defect #1241

closed

Bulk action fails if "Identifiers" field contains more than 255 characters (IdmLongRunningTask taskDescription has 255 length)

Added by Ondřej Kopr over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Long running task
Target version:
Start date:
09/05/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Please update the length of this value to DESCRIPTION = 2000.

This attribute uses bulk actions - please add some check before filling this value.

Actions #1

Updated by Ondřej Kopr over 5 years ago

  • Subject changed from taskDescription has 255 length to IdmLongRunningTask taskDescription has 255 length
Actions #2

Updated by Alena Peterová over 5 years ago

  • Tracker changed from Task to Defect
  • Subject changed from IdmLongRunningTask taskDescription has 255 length to Bulk action fails if "Identifiers" field contains more than 255 characters (IdmLongRunningTask taskDescription has 255 length)
Actions #3

Updated by Ondřej Kopr over 5 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Ondřej Kopr over 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 0 to 90

I finally solve the problem with description longer than 2000 characters.

Documentation: https://wiki.czechidm.com/devel/documentation/bulk_actions
commit: https://github.com/bcvsolutions/CzechIdMng/commit/dd30e0c0b86d218c063205b56d9ebd43a77a0ca1(develop)
test are included.

Sorry for longer resolving the ticket, Please Radek could you make a review? Please check flyway script for postgres, I tested mssql.

Actions #5

Updated by Radek Tomiška over 5 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 90 to 100

I did test and review, it works and code looks nice, thx!

Note: Task description is dynamically generated by bulk actions only, but some task configuration i xml could be longer too, so it's ok, it's implemented in save method i think.

Actions

Also available in: Atom PDF