Subversion Repositories SmartDukaan

Rev

Rev 88 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88 Rev 90
Line 660... Line 660...
660
			Utils.info("featureDef.getID()=" + featureDef.getID());
660
			Utils.info("featureDef.getID()=" + featureDef.getID());
661
			
661
			
662
			Feature feature = 
662
			Feature feature = 
663
				ents.getFeature(expEntity.getID(), featureDef.getID());
663
				ents.getFeature(expEntity.getID(), featureDef.getID());
664
			
664
			
665
			// Can happen with un-referred features like Brand
665
			// Special case for Brand
-
 
666
			if(expFacetRuleDef.getFacetDefinitionID() == 50001) {
-
 
667
				
-
 
668
				// Execute Python script
-
 
669
				jw.executeRule();
-
 
670
				
-
 
671
			}
-
 
672
			
666
			// or a slide's feature which is dropped in favor of a borrowed 
673
			// Can happen when to slide's feature which is dropped in favor 
667
			// slide
674
			// of a borrowed slide
668
			if(feature != null) {
675
			else if(feature != null) {
669
				ExpandedFeature expFeature = new ExpandedFeature(feature);
676
				ExpandedFeature expFeature = new ExpandedFeature(feature);
670
				
677
				
671
				jw.setExpandedFeature(expFeature);
678
				jw.setExpandedFeature(expFeature);
672
				
679
				
673
				// Execute Python script
680
				// Execute Python script