+1 DRY is my favorite principle. Sometimes I wish if the keyboard would zap developer fingers when performing a copy-paste :)
On Jul 22, 2017 10:33 AM, "Vaibhav Jain" <[email protected]> wrote: > Hello Pallavi, > > Yes, we can create error message UI labels in CommonErrorUiLabels.xml for > the common errors (like City, Postal code etc). > > No need to create duplicate UI label for same error in every component. > > Thanks & Regards > > Vaibhav Jain > Hotwax Systems, > [email protected] > > On Sat, Jul 22, 2017 at 12:54 PM, Pallavi Goyal <[email protected]> > wrote: > > > Hello Dev, > > > > While working on OFBIZ-7737 > > <https://issues.apache.org/jira/browse/OFBIZ-7737> to improve service > > level > > error messages for missing required fields, I observed there are > > many UiLabels for missing fields which are common throughout OFBiz such > as > > Postal Code, City, Order Id etc. > > > > So, should we proceed to put these common UiLabels in > > CommonErrorUiLabels.xml file instead of making multiple component > specific > > copies in ErrorUiLabels.xml. > > > > Thanks and Regards > > Pallavi Goyal > > >
