? ? Pending

User tests: Successful: Unsuccessful:

avatar Didldu-Florian
Didldu-Florian
19 Oct 2019

Pull Request for Issue #26657.

Summary of Changes

On menu save, reloading form request values missing on error.
Screenshot, see issue #26657

Testing Instructions

See issue #26657

Expected result

See issue #26657

Actual result

See issue #26657

Documentation Changes Required

Nope

avatar Didldu-Florian Didldu-Florian - open - 19 Oct 2019
avatar Didldu-Florian Didldu-Florian - change - 19 Oct 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2019
Category Administration com_menus
avatar Fallatas Fallatas - test_item - 19 Oct 2019 - Tested successfully
avatar Fallatas
Fallatas - comment - 19 Oct 2019

I have tested this item successfully on 08f6579


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

avatar joomlamarco joomlamarco - test_item - 19 Oct 2019 - Tested successfully
avatar joomlamarco
joomlamarco - comment - 19 Oct 2019

I have tested this item successfully on 08f6579


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

avatar SharkyKZ SharkyKZ - change - 20 Oct 2019
Status Pending Ready to Commit
Labels Added: ?
avatar SharkyKZ
SharkyKZ - comment - 20 Oct 2019

RTC


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

avatar HLeithner
HLeithner - comment - 5 Dec 2019

If I checked the history correctly this code exists since 10+ years. Why does it fail now and does it impact any other component?

avatar SharkyKZ
SharkyKZ - comment - 6 Dec 2019

It fails in 3.x too. My guess the idea here is not to send request to the model because request doesn't exist in the table and is not stored by the model.

If you want, this can be refactored so request is still stored to user state but not sent to the model.

avatar Didldu-Florian
Didldu-Florian - comment - 6 Dec 2019

@HLeithner it shouldn't effect, it's an old bug and these PR is also required for the already merged Save2Menu Feature #26681 ! If it couldn't be merged, we could also not go with the merged PR #26681

avatar HLeithner
HLeithner - comment - 6 Dec 2019

The shouldn't be any problem that this parameter get's to the model, JTable wouldn't save it if the field doesn't exists.

The only question is, are there any site effects for any component if this exists now? I don't think so but maybe I'm missing something.

avatar Didldu-Florian
Didldu-Florian - comment - 6 Dec 2019

Yes, but we did fixed that, because it is definetly required for #26681 to pass the data from the article. Without that PR, #26681 will definetly not run. At the PBF we had tested it also with other components. Unfortunately I cannot answer myself whether it has an effect on any other components. But it couldn't be a huge problem.

avatar HLeithner HLeithner - change - 6 Dec 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-12-06 08:21:28
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 6 Dec 2019
avatar HLeithner HLeithner - merge - 6 Dec 2019
avatar HLeithner
HLeithner - comment - 6 Dec 2019

Thanks.

avatar Didldu-Florian
Didldu-Florian - comment - 6 Dec 2019

Thanks.

Add a Comment

Login with GitHub to post a comment