User tests: Successful: Unsuccessful:
Pull Request for Issue #20575
Replaces #21281
Modified js to get a unique Notice.
Create a multingual site with 3 languages.
Create a contact (or any item) with language set to ALL.
save (NOT save and close)
Display the associations tab
@franz-wohlkoenig
@jreys
@dgrammatiko
Note : I choose contact instead of article or category as their display is broken for now in 4.0.
As second level sub menus are also broken, one way to display the contact manager is to first display administrator/index.php?option=com_cpanel&view=system
then choose Global Configuration
Then Choose Contacts on the left sidebar. You get to Contact: Options.
Cancel
There you are. Create a new contact with language set to ALL (it will be per default)
test before and after patch.
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository |
Title |
|
Patchtester cannot be used here to test this pr :(
@dgrammatiko is right - at leasts node.js is required.
I have tested this item Using Patch get same count of Notices as without Patch.
I have tested this item
Using Patch get same count of Notices as without Patch.
I have not tested this item.
Indeed you can't test as the min.js and .js have to get in via using node.
Basically the new files which are used are in the media folder after this PR is merged and node is used to create the new files.
This is going to be a real issue...
@infograf768 this is not a Problem as i can revert the Test. But it would save Time if PR-Dev. write "not testable in Patchtester".
@franz-wohlkoenig are you using glip? If yes I will try to help you with node.js and composer installation.
This is going to be a real issue...
Then let's find someone with some spare time to publish this: https://github.com/joomla-projects/gsoc17_pr_testing_platform
To be clear, patch tester has always been a convenience tool. It was never designed to be the official patch testing mechanism, and can never be because to properly apply and rollback patches requires data not available within a regular CMS install (and if you do have that data available the odds are you don't need patch tester to begin with).
Truth be told, I'm pretty close to just breaking 4.0 compatibility within it. Because 4.0 is a moving target and with the changes made this week essentially the component is useless on that version.
I will make time this weekend to work out an issue tracker level integration where you can download a packaged Joomla build for testing a pull request since it seems getting the PR testing platform to a usable state has stagnated.
@mbabker is this the "testing platform" you are referring to https://github.com/joomla-projects/gsoc17_pr_testing_platform ? If so it's not been touched for a year
Yep. A couple months ago the team was given the keys to a server to get that set up on our hosting architecture for use, that's the last update I have on things.
@franz-wohlkoenig Just wrote and I will give you my invitation link. :)
@infograf768 this is not a Problem as i can revert the Test. But it would save Time if PR-Dev. write "not testable in Patchtester".
I will definitely do that for any future PR.
I kow most people don't like the command line but here is an option to test such a PR, we have a docker container we are using in our testing environment to install dependencies. You can use this one (when you have docker installed on your computer) to setup a testing environment. You still need a local webserver and a Database.
Start the container
docker run -it --rm -v $(pwd):/opt -w /opt joomlaprojects/docker-tools bash
Any command you execute from now on is runnig in the container
git clone --single-branch -b 4.0-dev https://github.com/joomla/joomla-cms.git
cd joomla-cms
composer install
npm i
Now you have a actual joomla-4.0 dev version of joomla with all files you need
Next step is to get the PR Data
git fetch origin pull/21362/head:local_pr_21362
and update all files
npm run update
Done you can now start testing (after you installed Joomla!)
ctrl + c to exit the container but you can also let it run, you might will update or test a different PR
@franz-wohlkoenig If
its just an option, I think it is far easier as install git, php and node locally
@rdeutz for example @franz-wohlkoenig AFAIK have local server then only node and composer bare missing on his Mac. The have is true for me on Windows but I have already installed missing thing.
as I said it is an option, I am not pushing people to one or another
@infograf768 If you don't have issue fact that I must apply the additionally PR #21371.
This iS reproachable at lest on Windows and Firefox 61.0.1 (64 bits).
I have tested this item Using Patch get same count of Notices as without Patch.
Please ignore Test as for now Front- and Backend-PRs are able to test by Patchtester.
I have not tested this item.
For the people who do not use npm, here are the 2 files created by npm for this PR so you can test.
they should replace their equivalent in media/com_associations/js/
I have tested this item
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-06 14:11:35 |
Closed_By | ⇒ | wilsonge |
Thanks JM!
NOTE for people testing such PR.
If you do not use a local git repo and do not run composer install and npm install,
fetch nightly build and Install patchtester.EDIT: can't use patchtester for that kind of PR...