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 name and id fields for links in CKEditor #4059

Closed

Conversation

antonio-ortega
Copy link
Collaborator

Hey,

I'm just adding link plugin to our CKEditor so I can patch it in order to validate name and id fields.

Before this, those fields are not meeting the spec, allowing, for example, spaces.

Thanks.

Regards.

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:sf

@antonio-ortega
Copy link
Collaborator Author

ci:test:relevant

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:sf - 0 out of 1 jobs passed in 5 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 918d2a92fea02807d92eec05a2d4ab8903e11aea

Sender Branch:

Branch Name: LPD-19992-b
Branch GIT ID: 1c71cfcb0dbb7b44a446607f94e1cd1ccdd25800

0 out of 1jobs PASSED
For more details click here.
  at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
  at org.apache.tools.ant.Main.runBuild(Main.java:818)
  at org.apache.tools.ant.Main.startAnt(Main.java:223)
  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.net.UnknownHostException: mirrors-no-cache.lax.liferay.com
  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394)
  at java.net.Socket.connect(Socket.java:606)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:499)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:594)
  at sun.net.www.http.HttpClient.<init>(HttpClient.java:278)
  at sun.net.www.http.HttpClient.New(HttpClient.java:375)
  at sun.net.www.http.HttpClient.New(HttpClient.java:393)
  at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1240)
  at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1167)
  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1061)
  at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:995)
  at com.liferay.jenkins.results.parser.JenkinsResultsParserUtil.toInputStream(JenkinsResultsParserUtil.java:4756)
  at com.liferay.jenkins.results.parser.JenkinsResultsParserUtil.toBufferedReader(JenkinsResultsParserUtil.java:4356)
  at com.liferay.jenkins.results.parser.JenkinsResultsParserUtil.toString(JenkinsResultsParserUtil.java:5197)
  at com.liferay.jenkins.results.parser.JenkinsResultsParserUtil.getJenkinsBuildProperties(JenkinsResultsParserUtil.java:2309)
  ... 99 more
[beanshell] Created cache file in /tmp/jenkins-cached-files/550755880.txt

BUILD FAILED
/opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15382: The following error occurred while executing this line:
/opt/dev/projects/github/liferay-jenkins-ee/commands/build-test-portal-source-format.xml:121: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.AntUtil; import com.lifer . . . '' : TargetError : at Line: 211 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.AntUtil; import com.lifer . . . '' : throw e ;

Target exception: java.lang.RuntimeException: java.net.UnknownHostException: mirrors-no-cache.lax.liferay.com

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

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

✔️ ci:test:relevant - 70 out of 72 jobs passed in 1 hour 43 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 918d2a92fea02807d92eec05a2d4ab8903e11aea

Upstream Comparison:

Branch GIT ID: 918d2a92fea02807d92eec05a2d4ab8903e11aea
Jenkins Build URL: EE Development Acceptance (master) - 416 - 2024-03-11[08:40:28]

ci:test:stable - 33 out of 33 jobs PASSED
33 Successful Jobs:
    ci:test:relevant - 69 out of 72 jobs PASSED

    3 Failed Jobs:

    69 Successful Jobs:
      For more details click here.

      This pull contains no unique failures.


      Failures in common with acceptance upstream results at 918d2a9:
      Test bundle downloads:

      @liferay-continuous-integration
      Copy link
      Collaborator

      @antonio-ortega
      Copy link
      Collaborator Author

      ci:test:sf

      @liferay-continuous-integration
      Copy link
      Collaborator

      ❌ ci:test:sf - 0 out of 1 jobs passed in 5 minutes

      Click here for more details.

      Base Branch:

      Branch Name: master
      Branch GIT ID: 677c02b645bfe63027e738a7bbc62641a3e5cdbf

      Sender Branch:

      Branch Name: LPD-19992-b
      Branch GIT ID: 1c71cfcb0dbb7b44a446607f94e1cd1ccdd25800

      0 out of 1jobs PASSED
      For more details click here.
           [exec]   491:7  error  Expected object keys to be in natural ascending order. 'html' should be before 'style'.  sort-keys
           [exec]   492:7  error  Expected line before comment.  lines-around-comment
           [exec]   492:7  error  Expected line after comment.  lines-around-comment
           [exec]   493:7  error  Expected object keys to be in natural ascending order. 'focus' should be before 'html'.  sort-keys
           [exec]   494:7  error  Expected method shorthand.  object-shorthand
           [exec]   498:6  error  Expected method shorthand.  object-shorthand
           [exec]   506:6  error  Expected object keys to be in natural ascending order. 'id' should be before 'type'.  sort-keys
           [exec]   508:6  error  Expected object keys to be in natural ascending order. 'children' should be before 'padding'.  sort-keys
           [exec]   510:7  error  Expected object keys to be in natural ascending order. 'id' should be before 'type'.  sort-keys
           [exec]   513:7  error  Expected method shorthand.  object-shorthand
           [exec]   514:8  error  Unexpected var, use let or const instead.  no-var
           [exec]   516:104  error  Expected '!==' and instead saw '!='.  eqeqeq
           [exec]   520:8  error  Unexpected var, use let or const instead.  no-var
           [exec]   521:8  error  Expected blank line before this statement.  padding-line-between-statements
           [exec] 
           [exec] 
           [exec] FAILURE: Build failed with an exception.
           [exec] 
           [exec] * What went wrong:
           [exec] Execution failed for task ':packageRunCheckFormat'.
           [exec] > Process 'command '/opt/dev/projects/github/liferay-portal/build/node/bin/node'' finished with non-zero exit value 1
           [exec] 
           [exec] * Try:
           [exec] > Run with --info or --debug option to get more log output.
           [exec] > Run with --scan to get full insights.
           [exec] 
           [exec] * Exception is:
           [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':packageRunCheckFormat'.
           [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:145)
           [exec]   at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282)
           [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:143)
           [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)

      @liferay-continuous-integration
      Copy link
      Collaborator

      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

      2 participants