User tests: Successful: Unsuccessful:
This PR is in continuation with #8805. Thanks @wilsonge.
This is to fix the B/C break that was caused by the serialized data not matching the new class prototype for the JUser.
The serialized output has a slight change with this PR. Such as current output is C:5:"JUser":20:{a:1:{i:0;s:3:"256";}}
whereas the new output would be O:5:"JUser":1:{s:2:"id";s:3:"256";}
for JUser
with user id 256 but I think that is not any issue, right?
I am intentionally leaving out the description and test instruction here so that you could have a look at the original PR and understand any negative/positive implications with my proposition.
See details here #8805 Serialize the user object
Expected result: Nothing should break and you should be able to work seamlessly.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Libraries |
Easy | No | ⇒ | Yes |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-11 07:19:22 |
Closed_By | ⇒ | wilsonge |
Milestone |
Added: |
Labels |
Removed:
?
|
Thank you very much for looking into this! It's really appreciated :)
You're welcome. Joomla!
I have tested this item successfully on e00c126
Seems to work (i have not studied the code, i only tested if it works):
0 . NOTE if you updated your local repository to be after the commit 02fc45b then you can do:
1 . Log to frontend and backend
2 . Go back to staging branch and pull latest changes into local repository
3 . Frontend and backend break with same messages:
4 . Get pull request into a new branch and check it out (because you cannot apply patch via patch tester anymore because backend is broken AND if you close browser window then you can no longer test this fix):
5 . Frontend and Backend work again
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10356.