Perhaps you have applied a live effect liek a dashed stroke or rounded corners to the path and need to convert it to a normal path first...
Thanks for your reply Mylenium, but that is not it. I have just drawn a path, then while it is selected I have made a new fill or gradient layer. Now I can't remove the path to leave the fill layer.
Has anyone else even have the same issue?
One way to delete the vector mask is to hold down the Alt+Ctrl (Option+Cmd) keys and
drag down from the fill/gradient/pattern layer icon in the layers panel to the trash can at the bottom of the layers panel.
You can disable the "vector mask" by shift clicking on the Shape Path icon in the Properties panel.
One way to replicate rasterizing a vector mask is to Ctrl (Cmd) click on the shape layer icon in the layers panel, add a
layer mask and then delete the vector mask as described above.
Thanks, but that's not me, we just both happen to have a first name that starts with R.