Project

General

Profile

« Previous | Next » 

Revision 8986

Added by Jing Tao over 9 years ago

Fixed a bug that the solr index of data files doesn't reflect the change of access control.

View differences:

MetacatHandler.java
1838 1838
                  
1839 1839
                  // handle inserts
1840 1840
                  try {
1841
                	// create the system metadata  
1842
                    sysMeta = SystemMetadataFactory.createSystemMetadata(newdocid, true, false);
1841
                   // create the system metadata. During the creatation, the data file in the eml may need to be reindexed.
1842
                   boolean reindexDataObject = true;
1843
                   sysMeta = SystemMetadataFactory.createSystemMetadata(reindexDataObject, newdocid, true, false);
1843 1844
                    
1844 1845
                    // save it to the map
1845 1846
                    HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta);

Also available in: Unified diff