? Success
Pull Request for # 5659

User tests: Successful: Unsuccessful:

avatar thebeuving
thebeuving
4 Feb 2015

#5659
Since batch_urls (for batch updates) and the search function are all part of the same form having the required attribute on the batch_urls textarea was breaking search functionality. Removing the required attribute restore search. Someone could run a batch process without any content, but it will just give them an error on the redirects links page saying "No links added."

avatar thebeuving thebeuving - open - 4 Feb 2015
avatar jissues-bot jissues-bot - change - 4 Feb 2015
Labels Added: ?
avatar roland-d roland-d - change - 4 Feb 2015
Rel_Number 5659
Relation Type Pull Request for
avatar zero-24 zero-24 - change - 4 Feb 2015
Category Administration Components
avatar infograf768
infograf768 - comment - 5 Feb 2015

@test
I can now search indeed.
TBH: I am not sure I understand what batch is supposed to do in this Manager

avatar Bakual
Bakual - comment - 5 Feb 2015
avatar infograf768
infograf768 - comment - 5 Feb 2015

@Bakual
Understand. Therefore we should NOT be forced to choose an existing item to use the Batch button.
This has confused me as I thought it was related to the item(s) chosen.
As this Batch is in no way similar to the other Batch in core, we should also change the name of the button.

avatar infograf768
infograf768 - comment - 5 Feb 2015

The issue comes from the fact that Redirect uses the default toolbar batch layout.

avatar Bakual
Bakual - comment - 5 Feb 2015

It's a batch function, just not the same as other batches. The name imho is fine.
But you're right that we don't need an item selected for it. However that's an issue unrelated to this PR :smile:

avatar infograf768
infograf768 - comment - 5 Feb 2015

However that's an issue unrelated to this PR
Sure, just noted.

avatar javigomez
javigomez - comment - 5 Feb 2015

@test: works!

Before:

screen shot 2015-02-05 at 11 04 39

After:

screen shot 2015-02-05 at 11 05 02

avatar infograf768 infograf768 - close - 5 Feb 2015
avatar infograf768 infograf768 - reference | - 5 Feb 15
avatar infograf768 infograf768 - merge - 5 Feb 2015
avatar infograf768 infograf768 - close - 5 Feb 2015
avatar infograf768 infograf768 - change - 5 Feb 2015
The description was changed
Title
Removing required attribute from batch_urls textarea as it was breaking ...
Redirect Manager : search broken. Removing required attribute from batch_urls textarea as it was breaking ...
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-02-05 10:07:35

Add a Comment

Login with GitHub to post a comment