CiviCRM

Deleting a case activity that represents a change in a case level field leaves the case record out of sync with the "case story"

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed/Completed
  • Affects Version/s: 2.2.3
  • Fix Version/s: 3.0
  • Component/s: CiviCase
  • Labels:
    None

Description

We should block delete for 'Open Case' activities and the ones which modify case attributes
Hence activities of type
1) Open Case
2) Change Case Type
3) Change Case Status
4) Change Case Start Date, etc
should NOT allowed to be deleted.

Activity

Hide
David Greenberg added a comment -
We need to decide on a rule for this prior to implementing the fix.
* Block delete for any singleton activities?
* Block delete for activities which modify case attributes?
* Block delete based on a new flag in the XML file activity types array?

Yash - please work w/ dave d to figure out the best approach here.
Show
David Greenberg added a comment - We need to decide on a rule for this prior to implementing the fix. * Block delete for any singleton activities? * Block delete for activities which modify case attributes? * Block delete based on a new flag in the XML file activity types array? Yash - please work w/ dave d to figure out the best approach here.
Hide
Sushant Paste added a comment -
Tested in r21607.
Show
Sushant Paste added a comment - Tested in r21607.
Hide
Kurund Jalmi added a comment -
Batch move to verification
Show
Kurund Jalmi added a comment - Batch move to verification
Hide
Yashodha Chaku added a comment -
assigning for 3.0 QA
Show
Yashodha Chaku added a comment - assigning for 3.0 QA
Hide
Yashodha Chaku added a comment -
assigning for 3.1 verification
Show
Yashodha Chaku added a comment - assigning for 3.1 verification
Hide
Sunny Sharma added a comment -
verified in v3.1
Show
Sunny Sharma added a comment - verified in v3.1

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1h
Original Estimate - 1 hour
Remaining:
1h
Remaining Estimate - 1 hour
Logged:
Not Specified
Time Spent - Not Specified