Hide duplicity message in update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thiago
    Member
    • Jul 2017
    • 60

    Hide duplicity message in update

    I managed to block duplicity in the update, but this message appears on the system, how to hide this message?
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Check espocrm log (data/logs).
    Check the file you've changed is valid

    Comment

    • Thiago
      Member
      • Jul 2017
      • 60

      #3
      Hello Tanya, It was after I changed this parameter that presents this message when trying to duplicate a data in the system.

      espocrm/application/Espo/Services/Record.php - Set protected $checkForDuplicatesInUpdate = true

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        You allow checking for duplicates in update, it is logically. Second selected parameter is an array you see in error message.
        Last edited by tanya; 07-31-2017, 09:23 AM.

        Comment

        • Thiago
          Member
          • Jul 2017
          • 60

          #5
          ok, thanks. I have not yet been able to lock the duplicate new record.
          For example, the system warns that the record exists, but still allows the user to continue to write this duplicate record.

          Comment

          Working...