nova-translatable icon indicating copy to clipboard operation
nova-translatable copied to clipboard

Nova Markdown field preview fails

Open piotrku opened this issue 1 year ago • 0 comments

The XHR error returned is 404

POST http://site.test/nova-api/posts/field/translations_content_ar/preview?editing=true&editMode=update
[HTTP/1.1 404 Not Found 230ms]

I works fine on non translatable fields like:

http://site.test/nova-api/news/field/intro/preview?editing=true&editMode=update

And returns 404 on a translatable field content - the original query is (notice the transformed fieldname translations_content_en):

http://site.test/nova-api/posts/field/translations_content_en/preview?editing=true&editMode=update

But I tested different URLs for this field - none works:

http://site.test/nova-api/posts/field/translations_content/preview?editing=true&editMode=update
http://site.test/nova-api/posts/field/content_en/preview?editing=true&editMode=update
http://site.test/nova-api/posts/field/content/preview?editing=true&editMode=update

piotrku avatar Jan 12 '24 08:01 piotrku