AnsweredAssumed Answered

Custom Create view is not correctly coped to cache

Question asked by Richard Coleman on Jan 6, 2016
Latest reply on Jan 7, 2016 by Richard Coleman

I have a bit of an odd issue here, and I'm not sure if it's me, or something wrong in the code.

 

I'm using 7.6 and having successfully extended the RecordView, I'm attempting to do the same in create.

 

All seems to go well for a while. I create custom/modules/Accounts/clients/base/views/create-actions/create-actions.js with some code to extend it (i.e. extendsFrom:'CreateActionsView') , and repair and rebuild.

 

 

Upon clearing the cache folder, the rebuild shows a new area, but causes a syntax error due to the unexpected } below:

"customCreate": {"controller": 
  // CustomCreate View (base) 
 },

 

What is going on here? My CustomRecord View shows all of the code I wrote in it just above this area. I had to manipulate the cache file to even get back in to repair.

 

Has anyone else experienced this?

Outcomes