When no theme_id (or an invalid value) is provided in config.yml, for a valid password, theme watch/deploy defaults to live theme.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Themekit should fail as falling back to live theme is a dangerous practice.
Imagine someone on your team configures a "faulty" config.yml and runs theme deploy, overriding the live theme.
IMO there should be no such fallback and configuration should only be valid with explicit theme ID.
Environment:
Okay, I am going to mark this as a duplicate of #670 as there is a theme of worry about accidental live theme editing. I will look into adding functionality to make it harder to edit a live theme
I think #670 is not going to resolve this (maybe partially). I agree with @EMachado88 expected behavior, it definitely should NOT defaults to live theme! And please fix this asap, this is a serious bug...
Most helpful comment
I think #670 is not going to resolve this (maybe partially). I agree with @EMachado88 expected behavior, it definitely should NOT defaults to live theme! And please fix this asap, this is a serious bug...