• Brennon Willams ts2-dev-tools
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0

I'm creating a Lightning component, and to farmiliarize myself with the process I followed the Salesforce Lightning component creation tutorial (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_one_demo_load.htm). I followed the tutorial to the letter, and everything works fine until either of the .cmp files (one for contacts, one for contactList) change at all from the tutorial version. And I mean literally any change breaks the component. I'll open the component view on the Salesforce1 app, contacts are retrieved and listed properly, and then I make a change to contactList.cmp or contacts.cmp, be it a comment, a newline, anything, and the conacts won't load. For instance, editing a pre-existing comment in contactList.cmp like "<!-- Display the edit record page when the icon is clicked -->" and changing it to "<!-- Display the edit record page when an icon is clicked -->" breaks the entire component. No errors are thrown, but once contactList.cmp is saved the list is never displayed. I've tried relaunching the app and restarting the phone, both to no avail.
This problem has me banging my head against the wall. It's bizaree that a change in a comment could break the enitre componet. Is there some compile step I'm missing or something? Why would any change break functionality?