SF Push error when deploying Page Layout
Closed this issue · 3 comments
Hello @xixiaofinland ,
hope you are doing well today!
Apologies if I am not using the plugin properly, but just wanted to bring an interesting situation to your attention:
SCENARIO
- I wanted to deploy Page Layout to the target org (only that file)
- I navigated to the Page Layout file directly in my SFDX project, and executed the
save and deploy
command
Here's the error I am receiving:
I exposed the object and layout name in the screenshot, so you can have a little bit more context. Not sure if sf deploy
command needs to parse the full page layout name differently?
Apologies if this is not the bug, and it's just me not using the plugin as intended :)
Looking forward to receiving feedback!
Hi @ognjen-vuceljic thanks for creating the issue.
The pagelayout file has empty spaces in the middle of the name, resulting to the command line cutting the name into chunks.
I pushed a quick fix without proper testing. If you get the latest version of this repo, could you try to see if it works now?
If not, I will find time to look into it.
@xixiaofinland Works well, thanks for the quick fix!
great!
Thanks again to try sf.nvim out and submit this issue, without which I won't know this bug (I so far never encountered any file with blanks in the name).