----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71439/#review217635 -----------------------------------------------------------
repository/src/main/java/org/apache/atlas/glossary/GlossaryService.java Line 413 (original) <https://reviews.apache.org/r/71439/#comment304925> - instead of caller (i.e. UI in this case) to recompute the qualifiedName, I would suggest to recompute in GlossaryService.updateTerm(). Please refer to createTerm() for the details of computing qualifiedName. - similar updates be needed to handle rename of category as well - Madhan Neethiraj On Sept. 6, 2019, 9:36 a.m., Saqeeb Shaikh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/71439/ > ----------------------------------------------------------- > > (Updated Sept. 6, 2019, 9:36 a.m.) > > > Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, > and Sarath Subramanian. > > > Bugs: ATLAS-3391 > https://issues.apache.org/jira/browse/ATLAS-3391 > > > Repository: atlas > > > Description > ------- > > When a term (with name T) belonging to glossary (G) is updated to (T1), its > qualified name does not gets updated. Search by term displays qualified names > of the terms, hence old name is seen there. The handling for updating > qualified name was present but since we were copying the qualified name from > the DB object, the handling code never got trigerred. > > This patch also includes required UI side changes. > > > Diffs > ----- > > dashboardv2/public/js/utils/CommonViewFunction.js 9cea1b8 > repository/src/main/java/org/apache/atlas/glossary/GlossaryService.java > 9229d2d > > > Diff: https://reviews.apache.org/r/71439/diff/2/ > > > Testing > ------- > > Manually tested by updating term and searching using the updated term > qualified name. > > > Thanks, > > Saqeeb Shaikh > >
