Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot save the content page in expert mode #3174

Closed
pmoreno-rodriguez opened this issue Jan 23, 2021 · 8 comments
Closed

Cannot save the content page in expert mode #3174

pmoreno-rodriguez opened this issue Jan 23, 2021 · 8 comments
Assignees

Comments

@pmoreno-rodriguez
Copy link
Contributor

Hi.
I'm trying to delete some content, in expert mode through admin panel. The content can't be deleted, it shows again after click in save button.

Is this a bug?

save_content_grav17.mp4
@mahagr mahagr self-assigned this Jan 25, 2021
@mahagr
Copy link
Member

mahagr commented Jan 25, 2021

I'm able to reproduce the issue.

@mahagr
Copy link
Member

mahagr commented Jan 26, 2021

There's 3rd commit in: trilbymedia/grav-plugin-flex-objects@064facb

@pmoreno-rodriguez
Copy link
Contributor Author

pmoreno-rodriguez commented Jan 31, 2021

Hi,
I've been trying the changes with new file in classes/Admin/AdminController.php, and the system show the following error:

Call to undefined method Grav\Framework\Flex\FlexForm::setSubmitMethod()

I attach a screenshot of error:
Selection_039

Is there something I'm doing wrong?

@mahagr
Copy link
Member

mahagr commented Feb 1, 2021

It also requires a change in Grav, see the commits from above (3 altogether).

@pmoreno-rodriguez
Copy link
Contributor Author

Hi @mahagr ,

I have 3 files you have commited in their folders. The problem persists.

I've attached a short video to show the error.

vokoscreen-2021-02-01_17-57-38.mp4

@mahagr
Copy link
Member

mahagr commented Feb 2, 2021

Could you check if the release fixes your issue, thanks!

@pmoreno-rodriguez
Copy link
Contributor Author

Hi @mahagr

I just installed another local site with Grav 1.7.5 and all work fines, at the moment. Could be something from the cache.

Thanks for your help and your good job.

@mahagr
Copy link
Member

mahagr commented Feb 8, 2021

@pmoreno-rodriguez It has nothing to do with cache (well, if you exclude opcache). Basically it looks like Grav is an older version or at least the above class is old (cannot be updated/written?).

@mahagr mahagr closed this as completed Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants