OpusCapita / react-crudeditor

OpusCapita React CRUD Editor

Home Page:https://opuscapita.github.io/react-crudeditor/branches/master/?currentComponentName=ContractEditor&maxContainerWidth=100%25&showSidebar=false

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set valid payload for i18n/exceptions

amourzenkov-sc opened this issue · comments

  1. Go through all src/crudeditor-lib/i18n/exceptions and set correct payload args.
  2. Go though all places where the above exceptions are raised and specify correct payload.
  3. Go through all errorMessages and correct payload-message interrelation. See corresponding README section for the details.
  4. Correct payload argument in getMessage() call.
  5. Replace getMessage() call with getModelMessage() and move Translation is not found logic into getModelMessage() call.

This is fixed in #218, #221 and #223