Uploaded image for project: 'Form Entry Module'
  1. Form Entry Module
  2. FORM-44

FormEntry XSLTs should not be duplicated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Work
    • Priority: Could
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Complexity:
      Medium

      Description

      XSLTs were converted FormResources in TRUNK-292, the first step in separating XSLTs from core tables. We currently use SQL in liquibase-update-to-latest.xml to update XSLTs that match previous default versions.

      The behavior for XSLT needs to change. Instead of storing the default XSLT on every form, we should only store XSLTs for forms that have specialized or different XSLTs from the default, and the default XSLT should reside as a resource file that can be updated and rolled out without having to add 38Kb changeSets.

      FormEntry is the rightful owner of this file, but it is used by at least one more module (XForms). Therefore, this will require adding FormEntryService methods for accessing a given Form's XSLT and returning the default one if none is found. Any other XSLT-using modules need to be notified before this takes place.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                jeremy Jeremy Keiper
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 6 hours
                    6h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 6 hours
                    6h