Hello
For one of our content types, erau_image, two location schemes are being called for a single item under the publishing context.
Under the context section(publishing) we have a location schemes erauImage:erauBnImage and eraulGeneric:erauPgGeneric.
After publishing the cms will publish two files for a single image. One that is generate for the erauImage and one for erauGeneric:
For example, here is our publishing log for the full binary edition:
ERAU_Home.war/
LocSchemErauGeneric_ER Logo.jpg publish success ER Logo
LocSchem_Erau_Image_montage04ERAU.jpg publish success ER Logo
Any ideas on why our erauImage content type is triggering our location scheme associated erauGeneric content type?
Here are our location schemes and parameters:
Name:LocSchemErauImage,Generator:sys_JexlAssemblyLocation,ContentType:ERAU Image,TemplateType:B-Image
LocSchem_Erau_Image expression=
$sys.pub_path + ‘LocSchem_Erau_Image_’+ $sys.item.getProperty(‘rx:img1_filename’).String
Name:LocSchemErauGeneric ,Generator:sys_JexlAssemblyLocation,ContentType:ERAU Generic,TemplateType:P-Generic
LocSchemeErauGeneric expression=
$sys.pub_path + $sys.template.prefix + “LocSchemErauGeneric_”+$sys.item.getProperty(‘rx:sys_title’).String + $rx.location.getFirstDefined($sys.item,‘rx:activei mg_ext,rx:sys_suffix’, ‘.html’)