Has anyone else experienced an issue with assignin...
# suitecommerce
c
Has anyone else experienced an issue with assigning or editing a skin through the SMT since the SCEM 2020.1.3.1 update that occurred last Thursday (7/23)? The SMTSassCompiler.js end point is responding with an error 'Cannot read property "UTF_8" from undefined'. Looks line 278 was added with the new release:
270   util.each(options.files_paths, function(file_path)
271   {
272       var file = file_module.load({id: file_path});
273       var original_file = file_module.create({
274          name    : file.name.replace(options.output_prefix, ''),
275          fileType: file_module.Type.STYLESHEET,
276          contents: file.getContents()
277       });
278       original_file.encoding = file.Encoding.UTF_8;
279       original_file.folder = file.folder;
280       original_file.save();
281   });
I believe the 'file' object that is referenced should instead be 'file_module', as it would contain the 'Encoding' property. I've already submitted a case for this, but was curious if anyone else has come across the error. Thank you.
f
Hi @Cory do you have a case number? I think I know what´s happening
c
Hi @Flo Meilan, the case number is 3889213. I was also told that it was attached to a defect, but I do not have that number. Thank you.
f
thanks, let me check
👍 1
it´s issue 586032