? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
18 Aug 2018

Pull Request for Issue #21473
Also corrects js #21685 (Thanks @dgrammatiko)

Summary of Changes

Corrected and moved the batch-language js files to the right folder to be able to load them
Corrected display of default-batch-body. php for categories.
Added loading the js in the batch item layout file.

Testing Instructions

Select a category. Click on Batch.

Before batch

The layout is badly wrong.

image
Choosing or not a category to move or copy does not show/hide the Move/Copy buttons

After patch

Layout may still need some work but now it is usable.
THAT aspect CAN be tested by patchtester users.

Move Copy category now displays the show Move buttons fine.
NOT for patchtester users!

copy-move

Note

We need to correct other default-batch-body.php
Will do after this is merged.

avatar infograf768 infograf768 - open - 18 Aug 2018
avatar infograf768 infograf768 - change - 18 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2018
Category Administration com_categories JavaScript Repository Layout
avatar infograf768 infograf768 - change - 18 Aug 2018
The description was changed
avatar infograf768 infograf768 - edited - 18 Aug 2018
avatar wilsonge wilsonge - change - 18 Aug 2018
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 18 Aug 2018 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 Aug 2018

I have tested this item successfully on aba9362

Test using Patchtester.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21697.

avatar dgrammatiko
dgrammatiko - comment - 18 Aug 2018

@infograf768 the path for the es6.js file should be build/media_src/layouts/joomla/html/batch/js/batch-language.es6.js not
build/media_src/layouts/js/joomla/html/batch/batch-language.es6.js

avatar infograf768
infograf768 - comment - 18 Aug 2018

@dgrammatiko
testing here if changing the place for the js folder is fine

avatar infograf768
infograf768 - comment - 18 Aug 2018

@dgrammatiko
changing path as you propose breaks loading the js file with HTMLHelper

avatar dgrammatiko dgrammatiko - test_item - 18 Aug 2018 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 18 Aug 2018

I have tested this item successfully on 3cdeaf1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21697.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 19 Aug 2018 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Aug 2018

I have tested this item successfully on 3cdeaf1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21697.

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Aug 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Aug 2018

Ready to Commit after two successful tests.

avatar wilsonge wilsonge - close - 19 Aug 2018
avatar wilsonge wilsonge - merge - 19 Aug 2018
avatar wilsonge wilsonge - change - 19 Aug 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-08-19 09:01:48
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 19 Aug 2018

Thanks!

Add a Comment

Login with GitHub to post a comment