Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Batch process failed #348

Closed
allanpilarca opened this issue Mar 5, 2018 · 8 comments · Fixed by #359
Closed

Batch process failed #348

allanpilarca opened this issue Mar 5, 2018 · 8 comments · Fixed by #359
Assignees
Labels
Milestone

Comments

@allanpilarca
Copy link
Contributor

Batch process failed in menu manager

Warning Batch process failed with following error: Insufficient information to perform the batch operation.

@allanpilarca allanpilarca added this to the 2.0.0-beta milestone Mar 5, 2018
@allanpilarca
Copy link
Contributor Author

allanpilarca commented Mar 27, 2018

Note:

This is working fine in backend default template (isis), this error occurs because the fields inside the modal box is not submitted. In default templat the fields inside the modal box should be inside the <form> for it to be included once submitted, this doesnt happen in the template override in elysio. The modal is outside the <form>.

@robinpoort is it possible to put the markup of the modal inside the <form> ? just like how it currently work in isis template? or maybe we need an alternative approach on this to include those fields in the <form>.

@robinpoort
Copy link
Contributor

@allanpilarca I moved the batch modal inside the <form> but it doesn't fix the problem. I even renamed the entire elysio/html/com_menus/items to elysio/html/com_menus/items2 as a test with not using any override at all. Still doesn't fix it, it seems there's something inside the elysio template missing that isis does have. Any ideas what might be causing that?

@allanpilarca
Copy link
Contributor Author

@robinpoort seems this line https://github.com/joomlatools/joomlatools-platform/blob/master/web/administrator/templates/elysio/index.php#L159-L167 is moving all modal into <div id="modal-holder">, where the modal-holder is outside the <form> element.

Even we remove the template for elysio/html/com_menus/items the modal is still appended to modal-holder since its in the index.php.

@robinpoort
Copy link
Contributor

@allanpilarca Good find! I totally forgot about that thing. I added that because all the Joomla/Bootstrap modals were not showing because of z-index issues.

I went ahead and fixed the z-index issues in kodekit: https://github.com/timble/kodekit-ui/releases/tag/v1.0.1

I've updated to kodekit 1.0.1 in package.json and move all the modals inside the <form>s and outside <div class="k-dynamic-content-holder"> which were also hiding the modals after I removed the JS from index.php

I've tested most batch buttons and all seems to be working just fine again. Can you verify?

Pushed in #348-batch

@allanpilarca
Copy link
Contributor Author

@robinpoort tested your fix and its working now as expected. Good work sir :)

Small issue i found in module batch http://joomlatools-platform.test/administrator/index.php?option=com_modules minor styling is needed.

screen shot 2018-04-02 at 11 28 34 am

Other than that its all working. :)

@robinpoort
Copy link
Contributor

@allanpilarca Good find! Should be fixed in feature/348 now

@allanpilarca
Copy link
Contributor Author

@robinpoort that was quick, i can confirmed that this is already working! :)

@johanjanssens
Copy link
Member

@allanpilarca Can this one be closed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants