-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[com_fields] 0 Invalid controller: name='article', format='' #13267
Comments
Can you tell us what URL you had in the browser when that error occured? Sounds unrelated to fields to me because com_fields doesn't deal with URLs but this error comes from a wrong URL. |
Today I tried to reproduce the error which proved to be not an easy task. Finally I succeeded. When adding an article I selected a category and I had to hit immediatly the "Save & Close" Button afterwards. Now the error is thrown. And the URL is ... |
Ah, if you select a category, I think com_field does a reload because the available fields may have changed. You interefered with that reload and got stuck between chair and table. |
Yes it is correct, when you hit the save button before the page got reloaded, then you can land it that error. |
I Suggest we disable save button on category change and enable on category change finished? |
About disabling save button, or hiding the toolbar, agreed it is an option because the form submits It appears as if the page remains the same, but actually it is a new page, a new form that loads the values that had been entered by the user Solution, just hide the outer form container and append a div under body with a loading message Or just add a grayed overlay over the form with a centered loading message e.g. the following can be shown till the new page appears |
Clearly in had not tested it fully, in which case we should prompt a
loading screen in a modal with a grey out background it will be cleared on
the new page load
…On Wed, 21 Dec 2016 at 19:20, Georgios Papadakis ***@***.***> wrote:
I Suggest we disable save button on category change and enable on category
change finished?
About disabling save, or hidding the toolbar agreed it is an option
but there is no "category change finished",
because *the form submits*
and a new page is loaded by the browser, old page is gone
It appears as if the page remains the same, but actually it is a new page
a new form that loads the values that had been entered by the user
------------------------------
Solution, just hide the outer form container and append a div under body
with a loading message
then continue with the form submission
Or just add an grayed overlay over the form with a centered loading message
[image: loading_please_wait]
<https://cloud.githubusercontent.com/assets/5092940/21401891/af4e85e0-c7be-11e6-8322-f49f7383d3db.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13267 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABVgluTQhcZrmnEbURp56ME-i6UNhdDKks5rKXvygaJpZM4LQKnK>
.
|
Can we add a UX label here that they can come up with a proper solution? |
I have made a PR please click on it to see the picture and comment on it e.g. |
Closing as we have Code to comment on. Thanks! |
Steps to reproduce the issue
With current staging I added two field groups with a text field assigned to each group. I also added a category that I assigned to both fields.
Then I added an article and assigned it the newly created category. That went fine but when I added another article with the newly created category I got this error:
0 Invalid controller: name='article', format=''
Tested with mysql.
Expected result
Actual result
System information (as much as possible)
Additional comments
The text was updated successfully, but these errors were encountered: