Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPD-19992 Validate id and name attribute in links according to the spec #4070

Closed

Conversation

antonio-ortega
Copy link
Collaborator

Hey,

In the end, we decided to include this change as a patch in CKEditor, so now we just need to bump version in portal.

Thanks.

Regards.

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:sf - 1 out of 1 jobs passed in 4 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2ada59d66f026b7de4885f61cdb14bd07e633e86

Sender Branch:

Branch Name: LPD-19992
Branch GIT ID: 06f28978d87c7c9b560d1e36b36271ec3cc773b7

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@antonio-ortega
Copy link
Collaborator Author

ci:test:relevant

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:stable - 14 out of 34 jobs passed

❌ ci:test:relevant - 140 out of 255 jobs passed in 3 hours 46 minutes

Click here for more details.

This pull is eligible for reevaluation. When this upstream build has completed, using the following CI command will compare this pull request result against a more recent upstream result:

ci:reevaluate:1327401_3974

Base Branch:

Branch Name: master
Branch GIT ID: 2ada59d66f026b7de4885f61cdb14bd07e633e86

Upstream Comparison:

Branch GIT ID: 46706fe1d07f3eaa238056b5ee20cb52c0c9c861
Jenkins Build URL: EE Development Acceptance (master) - 424 - 2024-03-15[00:40:32]

ci:test:stable - 14 out of 34 jobs PASSED

20 Failed Jobs:

14 Successful Jobs:
    ci:test:relevant - 140 out of 255 jobs PASSED

    115 Failed Jobs:

    140 Successful Jobs:
      For more details click here.

      Failures unique to this pull:

      1. ...
      Test bundle downloads:

      @liferay-continuous-integration
      Copy link
      Collaborator

      @antonio-ortega
      Copy link
      Collaborator Author

      ci:test:relevant

      @dsanz
      Copy link
      Collaborator

      dsanz commented Mar 18, 2024

      LGTM ;)

      @liferay-continuous-integration
      Copy link
      Collaborator

      ❌ ci:test:stable - 32 out of 34 jobs passed

      ❌ ci:test:relevant - 196 out of 255 jobs passed in 4 hours 12 minutes

      Click here for more details.

      This pull is eligible for reevaluation. When this upstream build has completed, using the following CI command will compare this pull request result against a more recent upstream result:

      ci:reevaluate:1347401_5956

      Base Branch:

      Branch Name: master
      Branch GIT ID: f50c77fb9bcd84b00452277340c59bf7684d3982

      Upstream Comparison:

      Branch GIT ID: 5523007784929fb2609e594ca2e664dfb8b7535a
      Jenkins Build URL: EE Development Acceptance (master) - 429 - 2024-03-16[08:42:34]

      ci:test:stable - 32 out of 34 jobs PASSED

      2 Failed Jobs:

      32 Successful Jobs:
        ci:test:relevant - 196 out of 255 jobs PASSED

        59 Failed Jobs:

        196 Successful Jobs:
          For more details click here.

          Failures unique to this pull:

          1. functional-smoke-tomcat90-mysql57-jdk11_open/0/0
            [beanshell] Total duration: 323
            [beanshell] Remote execution completed in 323ms.
            [beanshell] Remote execution starting with 1 threads.
            [beanshell] Executing commands: ssh -o NumberOfPasswordPrompts=0 root@test-1-32 'mkdir -p "/mnt/mfs-hdd1-10.0.10/jenkins/testray-results/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/functional-smoke-tomcat90-mysql57-jdk11_open/0/0"'
            [beanshell] Average thread duration: 324ms
            [beanshell] Busy slaves:0
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 325
            [beanshell] Remote execution completed in 325ms.
            [beanshell] Executing commands: rsync -aqz --chmod=go=rx "/opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_rsync_logs"/* "test-1-32::testray-results/production/logs/"
            [beanshell] Uploaded https://testray.liferay.com/reports/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/functional-smoke-tomcat90-mysql57-jdk11_open/0/0/jenkins-console.txt.gz
            [beanshell] INFO: Using GOOGLE_APPLICATION_CREDENTIALS=/root/.gcloud/ci-testray.json
            [beanshell] Unable to delete because file does not exist /opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_s3_logs
            [beanshell] Created S3 Object https://storage.cloud.google.com/testray-results/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/functional-smoke-tomcat90-mysql57-jdk11_open/0/0/jenkins-console.txt.gz in 253 ms
            [stopwatch] [run.current.job: 1:19.028 sec]
            [beanshell] Created cache file in /tmp/jenkins-cached-files/-384158724.txt
            

            BUILD FAILED
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15374: The following error occurred while executing this line:
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:16247: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : TargetError : at Line: 149 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : throw exception ;

            Target exception: java.lang.RuntimeException: Unable to get remote refs from git@cloud-10-0-0-15:liferay/liferay-portal.git
            Warning: Permanently added 'cloud-10-0-0-15' (RSA) to the list of known hosts.
            fatal: 'liferay/liferay-portal.git' does not appear to be a git repository
            fatal: Could not read from remote repository.

            Please make sure you have the correct access rights
            and the repository exists.

          2. modules-compile-jdk8/0/8
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 334
            [beanshell] Remote execution completed in 334ms.
            [beanshell] Remote execution starting with 1 threads.
            [beanshell] Executing commands: ssh -o NumberOfPasswordPrompts=0 root@test-1-34 'mkdir -p "/mnt/mfs-hdd1-10.0.10/jenkins/testray-results/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-compile-jdk8/0/8"'
            [beanshell] Average thread duration: 246ms
            [beanshell] Busy slaves:0
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 246
            [beanshell] Remote execution completed in 247ms.
            [beanshell] Executing commands: rsync -aqz --chmod=go=rx "/opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_rsync_logs"/* "test-1-34::testray-results/production/logs/"
            [beanshell] Uploaded https://testray.liferay.com/reports/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-compile-jdk8/0/8/jenkins-console.txt.gz
            [beanshell] INFO: Using GOOGLE_APPLICATION_CREDENTIALS=/root/.gcloud/ci-testray.json
            [beanshell] Unable to delete because file does not exist /opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_s3_logs
            [beanshell] Created S3 Object https://storage.cloud.google.com/testray-results/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-compile-jdk8/0/8/jenkins-console.txt.gz in 305 ms
            [stopwatch] [run.current.job: 1:15.165 sec]
            [beanshell] Created cache file in /tmp/jenkins-cached-files/-32880438.txt

            BUILD FAILED
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15374: The following error occurred while executing this line:
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:16247: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : TargetError : at Line: 149 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : throw exception ;

            Target exception: java.lang.RuntimeException: Unable to get remote refs from git@cloud-10-0-0-15:liferay/liferay-portal.git
            Warning: Permanently added 'cloud-10-0-0-15' (RSA) to the list of known hosts.
            fatal: 'liferay/liferay-portal.git' does not appear to be a git repository
            fatal: Could not read from remote repository.

            Please make sure you have the correct access rights
            and the repository exists.

            1. com.liferay.jenkins.Jenkins
          3. modules-integration-mysql57-jdk8/0/0
            [beanshell] Target slaves:1
            [beanshell] Total duration: 324
            [beanshell] Remote execution completed in 324ms.
            [beanshell] Remote execution starting with 1 threads.
            [beanshell] Executing commands: ssh -o NumberOfPasswordPrompts=0 root@test-1-28 'mkdir -p "/mnt/mfs-hdd1-10.0.10/jenkins/testray-results/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/0/0"'
            [beanshell] Average thread duration: 327ms
            [beanshell] Busy slaves:0
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 327
            [beanshell] Remote execution completed in 327ms.
            [beanshell] Executing commands: rsync -aqz --chmod=go=rx "/opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_rsync_logs"/* "test-1-28::testray-results/production/logs/"
            [beanshell] Uploaded https://testray.liferay.com/reports/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/0/0/jenkins-console.txt.gz
            [beanshell] INFO: Using GOOGLE_APPLICATION_CREDENTIALS=/root/.gcloud/ci-testray.json
            [beanshell] Unable to delete because file does not exist /opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_s3_logs
            [beanshell] Created S3 Object https://storage.cloud.google.com/testray-results/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/0/0/jenkins-console.txt.gz in 278 ms
            [stopwatch] [run.current.job: 1:15.429 sec]
            [beanshell] Created cache file in /tmp/jenkins-cached-files/673949250.txt

            BUILD FAILED
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15374: The following error occurred while executing this line:
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:16247: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : TargetError : at Line: 149 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : throw exception ;

            Target exception: java.lang.RuntimeException: Unable to get remote refs from git@cloud-10-0-0-15:liferay/liferay-portal.git
            Warning: Permanently added 'cloud-10-0-0-15' (RSA) to the list of known hosts.
            fatal: 'liferay/liferay-portal.git' does not appear to be a git repository
            fatal: Could not read from remote repository.

            Please make sure you have the correct access rights
            and the repository exists.

            1. com.liferay.jenkins.Jenkins
            2. com.liferay.account.retriever.test.AccountUserRetrieverWhenSearchingAccountRoleUsersTest.testShouldReturnAccountRoleUsersInSpecifiedAccount - UNTESTED
            3. com.liferay.account.retriever.test.AccountUserRetrieverWhenSearchingAccountRoleUsersTest.testShouldReturnAccountRoleUsersWithMatchingKeywords - UNTESTED
            4. ...
          4. modules-integration-mysql57-jdk8/1/8
            [beanshell] Target slaves:1
            [beanshell] Total duration: 323
            [beanshell] Remote execution completed in 323ms.
            [beanshell] Remote execution starting with 1 threads.
            [beanshell] Executing commands: ssh -o NumberOfPasswordPrompts=0 root@test-1-31 'mkdir -p "/mnt/mfs-hdd1-10.0.10/jenkins/testray-results/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/1/8"'
            [beanshell] Average thread duration: 323ms
            [beanshell] Busy slaves:0
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 323
            [beanshell] Remote execution completed in 323ms.
            [beanshell] Executing commands: rsync -aqz --chmod=go=rx "/opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_rsync_logs"/* "test-1-31::testray-results/production/logs/"
            [beanshell] Uploaded https://testray.liferay.com/reports/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/1/8/jenkins-console.txt.gz
            [beanshell] INFO: Using GOOGLE_APPLICATION_CREDENTIALS=/root/.gcloud/ci-testray.json
            [beanshell] Unable to delete because file does not exist /opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_s3_logs
            [beanshell] Created S3 Object https://storage.cloud.google.com/testray-results/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/1/8/jenkins-console.txt.gz in 270 ms
            [stopwatch] [run.current.job: 1:19.396 sec]
            [beanshell] Created cache file in /tmp/jenkins-cached-files/1460659871.txt

            BUILD FAILED
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15374: The following error occurred while executing this line:
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:16247: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : TargetError : at Line: 149 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : throw exception ;

            Target exception: java.lang.RuntimeException: Unable to get remote refs from git@cloud-10-0-0-15:liferay/liferay-portal.git
            Warning: Permanently added 'cloud-10-0-0-15' (RSA) to the list of known hosts.
            fatal: 'liferay/liferay-portal.git' does not appear to be a git repository
            fatal: Could not read from remote repository.

            Please make sure you have the correct access rights
            and the repository exists.

            1. com.liferay.jenkins.Jenkins
            2. com.liferay.contacts.service.test.ContactLocalServiceTest.testCustomAddContactWithFutureBirthday - UNTESTED
            3. com.liferay.contacts.service.test.ContactLocalServiceTest.testCustomUpdateContactWithFutureBirthday - UNTESTED
            4. ...
          5. modules-integration-mysql57-jdk8/1/22
            [beanshell] Target slaves:1
            [beanshell] Total duration: 322
            [beanshell] Remote execution completed in 323ms.
            [beanshell] Remote execution starting with 1 threads.
            [beanshell] Executing commands: ssh -o NumberOfPasswordPrompts=0 root@test-1-39 'mkdir -p "/mnt/mfs-hdd1-10.0.10/jenkins/testray-results/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/1/22"'
            [beanshell] Average thread duration: 322ms
            [beanshell] Busy slaves:0
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 322
            [beanshell] Remote execution completed in 322ms.
            [beanshell] Executing commands: rsync -aqz --chmod=go=rx "/opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_rsync_logs"/* "test-1-39::testray-results/production/logs/"
            [beanshell] Uploaded https://testray.liferay.com/reports/production/logs/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/1/22/jenkins-console.txt.gz
            [beanshell] INFO: Using GOOGLE_APPLICATION_CREDENTIALS=/root/.gcloud/ci-testray.json
            [beanshell] Unable to delete because file does not exist /opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_s3_logs
            [beanshell] Created S3 Object https://storage.cloud.google.com/testray-results/2024-03/test-1-34/test-portal-acceptance-pullrequest(master)/5956/modules-integration-mysql57-jdk8/1/22/jenkins-console.txt.gz in 257 ms
            [stopwatch] [run.current.job: 1:18.481 sec]
            [beanshell] Created cache file in /tmp/jenkins-cached-files/1426767295.txt

            BUILD FAILED
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15374: The following error occurred while executing this line:
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:16247: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : TargetError : at Line: 149 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : throw exception ;

            Target exception: java.lang.RuntimeException: Unable to get remote refs from git@cloud-10-0-0-15:liferay/liferay-portal.git
            Warning: Permanently added 'cloud-10-0-0-15' (RSA) to the list of known hosts.
            fatal: 'liferay/liferay-portal.git' does not appear to be a git repository
            fatal: Could not read from remote repository.

            Please make sure you have the correct access rights
            and the repository exists.

            1. com.liferay.jenkins.Jenkins
            2. com.liferay.dynamic.data.mapping.change.tracking.test.DDMFormInstanceReportTableReferenceDefinitionTest.testDiscardCTEntry - UNTESTED
            3. com.liferay.dynamic.data.mapping.change.tracking.test.DDMStructureTableReferenceDefinitionTest.testDiscardCTEntry - UNTESTED
            4. ...
          6. ...
          Test bundle downloads:

          @liferay-continuous-integration
          Copy link
          Collaborator

          Copy link
          Collaborator

          @markocikos markocikos left a comment

          Choose a reason for hiding this comment

          The reason will be displayed to describe this comment to others. Learn more.

          @antonio-ortega The change in this PR is perfectly fine, but typically we would do review on liferay/liferay-ckeditor#208, before the relevant code is merged. Only after review we do release and version update in DXP. @dsanz Did we change process?

          Looking at merged code, I am not to fond of the change in liferay/liferay-ckeditor@2d2e4b5#diff-5492248584039a64baab3a856813c85392795066c7312a565ae463195bb5ef1b:

          alert(
          	Liferay.Util.sub(
          		Liferay.Language.get('there-was-an-error-when-loading-the-x-field'),
          		fieldName
          	)
          );

          My doubts here are:

          1. Liferay.Util.sub and Liferay.Language.get are DXP-specific. Changes in patches have always been platform agnostic. It might make sense to change this practice, but did we agree on this?
          2. If we are starting to use DXP-specific utilities, we should avoid using vanilla alert. We should be using Liferay.Util.openAlertModal.

          A minor thing also, we would typically split changes in code to (1) commit with changes and (2) artifacts update. I was only able to see the changes because of the patch commit.

          @antonio-ortega
          Copy link
          Collaborator Author

          Hey @markocikos ,

          Thanks a lot for your comments. They are very useful to me.

          First of all, I'd like to apologize for merging my pull request straight away. That was completely my bad.

          I had sent a previous pull request to liferay-portal repo on Monday with same code and I also linked it on two Slack threads (1 | 2 ) and I didn't received any comment so I thought everything was fine about the code.

          However, those two comments you've made here to my pull request make sense in the context of sending that code to liferay-ckeditor repo but not to liferay-portal repo. I didn't consider that option. I'll be more careful next time.

          I'll send a new pull request with changes we agree here.

          Now, going to your doubts:

          Liferay.Util.sub and Liferay.Language.get are DXP-specific. Changes in patches have always been platform agnostic. It might make sense to change this practice, but did we agree on this?

          I'd like to ask @dsanz about this, since in a private conversation (and sorry for bring it public) he said something like:

          Liferay.Language.get() might work within liferay-ckeditor repo

          and I directly assume I could make use of it.

          If we are starting to use DXP-specific utilities, we should avoid using vanilla alert. We should be using Liferay.Util.openAlertModal

          It makes sense to me. I was just trying to be consistent with link plugin itself where other warning are shown with vanilla alert.

          A minor thing also, we would typically split changes in code to (1) commit with changes and (2) artifacts update. I was only able to see the changes because of the patch commit.

          I'm not understanding this one. If we are talking about the pull request sent to liferay-ckeditor repo I was trying to follow the pattern in previous patch. See LPS-166086 commit Vs LPD-19992 commit, and then I sent a different commit to update artifacts.

          @markocikos
          Copy link
          Collaborator

          markocikos commented Mar 19, 2024

          Liferay.Language.get() might work within liferay-ckeditor repo

          Yep, Dani correctly said that, I'm sure this works. Liferay is in global JS context. My concern is if we should do this. Up to now, you could use Liferay's fork of CKEditor outside of DXP. I'm not sure if it makes sense to keep that practice, in the light of future transition to CKEditor 5.

          I was just trying to be consistent with link plugin itself where other warning are shown with vanilla alert

          Yeah, that makes sense to me. Could we keep the text in the alert defined in the same way like in plugin, maybe showing some generic error message?

          I'm not understanding this one. If we are talking about the pull request sent to liferay-ckeditor repo I was trying to follow the pattern in previous patch

          My bad, you're right on this one! There are no commits outside patches. I was thinking of changes on repo that are outside of ckeditor-dev subrepo.

          @antonio-ortega
          Copy link
          Collaborator Author

          Yep, Dani correctly said that, I'm sure this works. Liferay is in global JS context. My concern is if we should do this. Up to now, you could use Liferay's fork of CKEditor outside of DXP. I'm not sure if it makes sense to keep that practice, in the light of future transition to CKEditor 5

          @dsanz What do you think?

          @dsanz
          Copy link
          Collaborator

          dsanz commented Mar 21, 2024

          Nice discussion guys ❤️

          Did we change process?

          Nop, things are the same

          My concern is if we should do this. Up to now, you could use Liferay's fork of CKEditor outside of DXP. I'm not sure if it makes sense to keep that practice, in the light of future transition to CKEditor 5.

          I'd not be much concerned with the appicability of our ckeditor fork outside of liferay. Unless I'm missing any use case, this is more a requirement on "agnosticity" we added to foster separation of concerns. Some time ago I had similar concerns when adding clay-specific classes to the repo, yet we ended up allowing them. In the end we build our customizations to make them work in DXP. That's not to say we must abuse them, e.g. doing bad practises. But in the case of Liferay.Language.get(), as it's so widespread, the attempt to provide an alternative will imply touching many files already.

          To support this reasoning, we've never changed the translation files in liferay-ckeditor repo through patching. Going this way implies not leveraging native liferay translation system (automatic translations, new translations added regularly, etc).

          So in this case I do support using this mechanism under the assumption that:

          • We are not endorsing external usages of liferay-ckeditor package.
          • If we do, we provide a wrapper for such function that reads the value from the existing translation files bundled with ckeditor, and leave to the integrator the responsibility of providing them
          • We have solid plans to migrate to ckeditor5 (or otherwise get away of ckeditor4) so this should not be a big concern

          @antonio-ortega
          Copy link
          Collaborator Author

          Thanks for sharing your thoughts, @dsanz .

          So shall I forward this pull request?

          We also mentioned about changing error message to show something generic, but I don't know whether that's actually related to the idea of avoiding using Liferay.Language.get() or just for consistency. Because if it's for consistency, this plugin is already showing some specific error messages:

          Please type the link URL

          And I think it's better for final users to know which fields are failing rather than just getting "Invalid value".

          @antonio-ortega
          Copy link
          Collaborator Author

          ci:forward

          @liferay-continuous-integration
          Copy link
          Collaborator

          CI is automatically triggering the following test suites:

          •     ci:test:relevant
          •     ci:test:sf
          •     ci:test:stable

          The pull request will automatically be forwarded to the user brianchandotcom If the following test suites pass:

          •     ci:test:relevant
          •     ci:test:sf
          •     ci:test:stable

          @liferay-continuous-integration
          Copy link
          Collaborator

          Skipping previously passed test suites:

          • ci:test:sf

          @liferay-continuous-integration
          Copy link
          Collaborator

          ✔️ ci:test:stable - 34 out of 34 jobs passed

          ❌ ci:test:relevant - 203 out of 254 jobs passed in 5 hours 37 minutes

          Click here for more details.

          Base Branch:

          Branch Name: master
          Branch GIT ID: 51cb279352f20709b40faf12cd464b079f2590ec

          Upstream Comparison:

          Branch GIT ID: 51cb279352f20709b40faf12cd464b079f2590ec
          Jenkins Build URL: EE Development Acceptance (master) - 463 - 2024-04-01[00:42:54]

          ci:test:stable - 34 out of 34 jobs PASSED
          34 Successful Jobs:
            ci:test:relevant - 203 out of 254 jobs PASSED

            51 Failed Jobs:

            203 Successful Jobs:
              For more details click here.

              Failures unique to this pull:

              1. modules-integration-mysql57-jdk8/3/11
                     [exec] * What went wrong:
                     [exec] Execution failed for task ':downloadNode'.
                     [exec] > Could not copy tar entry /root/.liferay/mirrors/nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.gz!node-v16.13.0-linux-x64/bin/node to '/opt/dev/projects/github/liferay-portal/build/node/bin/node'.
                     [exec]    > java.util.zip.ZipException: invalid block type
                     [exec] 
                     [exec] * Try:
                     [exec] > Run with --info or --debug option to get more log output.
                     [exec] > Run with --scan to get full insights.
                     [exec] > Get more help at https://help.gradle.org.
                     [exec] 
                     [exec] * Exception is:
                     [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':downloadNode'.
                     [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:148)
                     [exec]   at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282)
                     [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
                     [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
                     [exec]   at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
                     [exec]   at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
                     [exec]   at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
                     [exec]   at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
                     [exec]   at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
                     [exec]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter\$1.executeTask(EventFiringTaskExecuter.java:77)
                     [exec]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter\$1.call(EventFiringTaskExecuter.java:55)
                     [exec]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter\$1.call(EventFiringTaskExecuter.java:52)
                     [exec]   at org.gradle.internal.operations.DefaultBuildOperationRunner\$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
                1. com.liferay.jenkins.Jenkins
                2. com.liferay.object.service.test.ObjectLayoutServiceTest.testAddObjectLayout - UNTESTED
                3. com.liferay.object.service.test.ObjectLayoutServiceTest.testGetObjectLayout - UNTESTED
                4. ...
              2. modules-integration-mysql57-jdk8/5/11
                     [exec] See the profiling report at: file:///opt/dev/projects/github/liferay-portal/build/reports/profile/profile-2024-04-01-08-12-21.html* What went wrong:
                     [exec] A fine-grained performance profile is available: use the --scan option.
                     [exec] 
                     [exec] Execution failed for task ':downloadNode'.
                     [exec] > Could not copy tar entry /root/.liferay/mirrors/nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.gz!node-v16.13.0-linux-x64/bin/node to '/opt/dev/projects/github/liferay-portal/build/node/bin/node'.
                     [exec]    > java.util.zip.ZipException: invalid block type
                     [exec] 
                     [exec] * Try:
                     [exec] > Run with --info or --debug option to get more log output.
                     [exec] > Run with --scan to get full insights.
                     [exec] > Get more help at https://help.gradle.org.
                     [exec] 
                     [exec] * Exception is:
                     [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':downloadNode'.
                     [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:148)
                     [exec]   at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282)
                     [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
                     [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
                     [exec]   at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
                     [exec]   at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
                     [exec]   at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
                     [exec]   at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
                     [exec]   at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
                     [exec]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter\$1.executeTask(EventFiringTaskExecuter.java:77)
                     [exec]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter\$1.call(EventFiringTaskExecuter.java:55)
                     [exec]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter\$1.call(EventFiringTaskExecuter.java:52)
                1. com.liferay.jenkins.Jenkins
                2. com.liferay.portal.tools.service.builder.test.sequence.service.test.SequenceEntryLocalServiceTest.testAddSequenceEntry - UNTESTED
                3. com.liferay.portlet.expando.service.persistence.test.ExpandoRowPersistenceTest.testCreate - UNTESTED
                4. ...
              3. modules-integration-mysql57-jdk8/4/1
                1. com.liferay.portal.fragment.bundle.watcher.test.PortalFragmentBundleWatcherTest - Failed 1 of last 23
                2. .opt.dev.projects.github.liferay-portal.modules.apps.portal.portal-module-service-test.src.testIntegration.java.com.liferay.portal.module.service.test.SnapshotIntegrationTest.testDynamicWithBundleRestart - UNTESTED
                3. .opt.dev.projects.github.liferay-portal.modules.apps.portal.portal-module-service-test.src.testIntegration.java.com.liferay.portal.module.service.test.SnapshotIntegrationTest.testStaticWithBundleRestart - UNTESTED
              4. modules-unit-jdk8/0/14
                1. com.liferay.portal.search.opensearch2.internal.cluster.ReplicasClusterListenerTest.testAHappyDay - UNTESTED
                2. com.liferay.portal.search.opensearch2.internal.cluster.ReplicasClusterListenerTest.testLiferayClusterReportsEmpty - UNTESTED
                3. com.liferay.portal.search.opensearch2.internal.cluster.ReplicasClusterListenerTest.testMasterTokenAcquired - UNTESTED
                4. ...
              5. ...
              Test bundle downloads:

              @liferay-continuous-integration
              Copy link
              Collaborator

              @antonio-ortega
              Copy link
              Collaborator Author

              ci:forward:force

              @liferay-continuous-integration
              Copy link
              Collaborator

              CI is automatically triggering the following test suites:

              •     ci:test:relevant
              •     ci:test:sf
              •     ci:test:stable

              The pull request will automatically be forwarded to the user brianchandotcom if the following test suites complete:

              •     ci:test:relevant
              •     ci:test:sf
                AND If the following test suites pass:
              •     ci:test:stable

              @liferay-continuous-integration
              Copy link
              Collaborator

              Skipping previously completed test suites:

              • ci:test:relevant
              • ci:test:sf
                AND Skipping previously passed test suites:
              • ci:test:stable

              @liferay-continuous-integration
              Copy link
              Collaborator

              All required test suite(s) completed.
              Forwarding pull request to brianchandotcom.
              Console

              @liferay-continuous-integration
              Copy link
              Collaborator

              Pull request has been successfully forwarded to brianchandotcom#148712
              Console

              Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
              Projects
              None yet
              Development

              Successfully merging this pull request may close these issues.

              None yet

              4 participants