Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3657

Delete clob data storage when deleting a form resource

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Work
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: OpenMRS 1.9.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Complexity:
      Low
    • Sprint:
      Burke's Test Sprint

      Description

      Form resources of some datatypes e.g LongFreeTextDatatype store a value reference which is a uuid, this uuid is a reference to the a row in the clob_datatype_storage table which has a value column where the actual text of the resource is stored. This implies that when en a FormResource with a typed value is deleted, the referenced ClobDataStorage row needs to be deleted too.
      See FormServiceImpl and HibernateFormDAO

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            wyclif Wyclif Luyima
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 3 hours
                3h