? Pending

User tests: Successful: Unsuccessful:

avatar GABBAR1947
GABBAR1947
2 Mar 2016

Pull Request for Issue #8859

Testing instructions remain the same as referenced in the issue:
$session = JFactory::getSession();
$session->set('test', 1);
echo $session->set('test', 2);

avatar GABBAR1947 GABBAR1947 - open - 2 Mar 2016
avatar GABBAR1947 GABBAR1947 - change - 2 Mar 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2016
Labels Added: ?
avatar wilsonge wilsonge - change - 2 Mar 2016
Labels Added: ?
avatar wilsonge
wilsonge - comment - 2 Mar 2016

Adding 3.5 blocking tag on this as it's a b/c break introduced in 3.4.8

avatar richard67 richard67 - test_item - 2 Mar 2016 - Tested successfully
avatar richard67
richard67 - comment - 2 Mar 2016

I have tested this item :white_check_mark: successfully on 114ccb1

Tested with success with code snippet provided here and in #8859 and with more detailed test instructions from #8859 .

Works as described.

The code change makes sense when reading, too.

But since I am not expert in Joomla! session handling I cannot judge if the documentation and this PR are correct (very likely), or if maybe the change in how the function works was by purpose (very unlikely, just wanted to mention that).


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

avatar wilsonge
wilsonge - comment - 2 Mar 2016

It wasn't on purpose - I can confirm that!

avatar richard67
richard67 - comment - 2 Mar 2016

Then this PR here seems to solve it in the right way, yes?

avatar wilsonge
wilsonge - comment - 2 Mar 2016

This is definitely the right thing to do - just needs 1 more test :P

avatar richard67
richard67 - comment - 2 Mar 2016

@wilsonge What is strange is that on GitHub in this PR, there are 2 bad commits always shown at the end as done just now here in the conversation tab and also in the commits tab, but when looking at the changed files in this PR they seem to be outdated, and the final result of this PR looks good regarding code style, what these 2 commits don't. So there seems to be something wrong with display here (maybe a NULL date in the point of time of these 2 commits in GitHub?). On the issue tracker the history looks OK.

Looks like a GitHub problem, not related to this PR. Just wanted to mention.

avatar Kubik-Rubik
Kubik-Rubik - comment - 2 Mar 2016

@GABBAR1947 It seems like you've messed up the commits. Could you please create a new, clean PR with only the session change? Once done, please reference on this PR and close it. Thanks!

avatar wilsonge wilsonge - close - 2 Mar 2016
avatar GABBAR1947 GABBAR1947 - close - 2 Mar 2016
avatar GABBAR1947 GABBAR1947 - change - 2 Mar 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-03-02 14:12:37
Closed_By GABBAR1947
avatar GABBAR1947 GABBAR1947 - close - 2 Mar 2016
avatar richard67
richard67 - comment - 2 Mar 2016

@Kubik-Rubik Hmm, I hope he not missunderstood and closed without redo.


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

avatar GABBAR1947
GABBAR1947 - comment - 2 Mar 2016

@richard67 No, I'm coming up with a new one. Actually the moment I commit the code, there appears to be an indentation issue.

avatar wilsonge
wilsonge - comment - 2 Mar 2016

Yah I noticed that in some other github PR's as well - as you say likely a github issue - I guess we just have to wait for them to clear it up :/

avatar GABBAR1947 GABBAR1947 - head_ref_deleted - 2 Mar 2016
avatar GABBAR1947 GABBAR1947 - reference | 21e9fec - 2 Mar 16
avatar GABBAR1947
GABBAR1947 - comment - 2 Mar 2016
avatar wilsonge wilsonge - change - 2 Mar 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment