Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-291

Remove "kDBEventHandler::RemoveRequiredFields" method

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.0.1
    • Fix Version/s: None
    • Component/s: Optimization
    • Labels:
      None

      Description

      Method "kDBEventHandler::RemoveRequiredFields" is used to make all required fields non-required to be able save object without validating it. This doesn't help in case, when custom validation is used.

      I propose to remove this method, and use "$object->IgnoreValidation = true;" where mentioned above method is used.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alex Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: