Uploaded image for project: 'VPMS Web Application'
  1. OVPMS-2056

AbstractCRUDWindow allows editing of stale objects

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: 2.0
    • Fix versions: 2.0.1
    • Components: User Interface
    • Labels:
      None
    • Sprint:

      Description

      AbstractCRUDWindow performs the canEdit(object) check on the cached instance of an object before editing the latest instance. The latest instance may not be editable, e.g. a POSTED invoice.
      In the case of invoices this is not a problem, as attempts to save are silently ignored. In general however, the canEdit(object) should be applied to the latest instance of the object.

        Attachments

          Activity

            People

            • Assignee:
              Tim Anderson
              Reporter:
              Tim Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h

                  Who's Looking?