Hmmm, that doesn't seem to be working. I have an Image content field on a page, but when I replace the asset in Assets, the image is still the same on the page and in the Perch admin. The new image has been added to the Assets. I can select the new image in the content field, but it's still the original file.
Could you clarify? To me content would mean the bytes of the file, but that's not the case.
Is there a way to disable the option to replace a file as it's cause multiple support requests from clients.
It seems when I open an asset in the assets section and then choose a new file under "Replace file", the replacement file is actually added as a new file. Is this intended behaviour?
I understand the use case of CDNs or caching, but the field label has confused a few of my customers as it doesn't replace the file, but creates a second one and the user is forced to select the new file (possibly in multiple locations).
The blog app is still installed.
The process would be:
- Install blog app
- Add 1 blog
- Add post(s)
- Add second blog (under "Blogs")
- Add post in second blog
- Delete second blog (under "Blogs")
The result is that the post added in step 5 are still available (not deleted or blocked/hidden). Also, if you list all blog entries without specifying a blog, the posts from the deleted blog will be included.
I didn't try this, but my assumption would be that if the blog app is deleted (either just the app config item or the app files as well), the blog won't work at all because none of the `perch_blog...` functions wouldn't be available and thus the blog (or blogs) wouldn't work at all. But, I could be wrong. Definitely something to test if you're removing all blogs.
I deleted a blog on a Runway site and the posts in are still accessible on the site, but not available in the admin so I can't manually delete them (though impractical if there had been more than a few). I'm not sure if this is intentional or not.
In the Runway Blog configuration, it says:Quote
I'm not seeing this in `post.php` example in the files? Am I missing something?
I'm having a weird issue – it's generating error log messages, but it appears that the admin is working fine.
The error is:
It appears to occur when I save a piece of content, for example at the URL:
I'm using a custom auth plugin. Looking in the content_locks table, the userID is 0.
The immediate trace is:
My resume_session method returns an array (as per the docs https://docs.grabaperch.com/api/auth/) with keys email and role.
As far as I can tell, if it can't get a lock, then it's looking for a PerchUser object which (obviously) it doesn't have.
Am I doing something wrong?