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
LPS-83714 #837
LPS-83714 #837
Conversation
To conserve resources, the PR Tester does not automatically run for every pull. If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed. If your pull was never tested, comment "ci:test" to run the PR Tester for this pull. |
ci:test:relevant |
❌ ci:test:relevant - 41 out of 48 jobs passed in 1 hour 20 minutes 49 seconds 159 msClick here for more details.Base Branch:Branch Name: master Copied in Private Modules Branch:Branch Name: master-private 7 Failed Jobs:
41 Successful Jobs:
For more details click here.Failures unique to this pull:Failures in common with acceptance upstream results at cd184cd:
Test bundle downloads:
|
Just started reviewing :) |
@@ -120,26 +120,31 @@ | |||
|
|||
<aui:input name="<%= HtmlUtil.getAUICompatibleId(ddmFormValuesInputName) %>" type="hidden" /> | |||
|
|||
<aui:input name="ddmFormFieldNamespace" type="hidden" value="<%= fieldsNamespace %>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @antonio-ortega , since this is only used by DL, is it possible to move this out of the DDM Taglib and keep the logic at DL?
instance.updateDDMFormInputValue(); | ||
} | ||
}, | ||
|
||
_onSubmitForm: function(event) { | ||
var instance = this; | ||
|
||
instance.updateDDMFormInputValue(); | ||
if (instance.get('synchronousFormSubmission')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonio-ortega , wouldn't it be better to move this condition checking to the event handlers assignment to avoid calling this method unnecessarily?
@@ -73,6 +73,12 @@ | |||
<rtexprvalue>true</rtexprvalue> | |||
<type>boolean</type> | |||
</attribute> | |||
<attribute> | |||
<name>synchronousFormSubmission</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonio-ortega , we cannot directly change *.tld files. The correct process is:
- Add the new input to
liferay-ddm.xml
- Run
gradlew buildTaglibs
These steps will update the *.tld files propertly.
@antonio-ortega is out of office since, he will come back next week. |
926e816
to
c832f82
Compare
c832f82
to
11ebb0c
Compare
Just started reviewing :) |
Hey @antonio-ortega , I've added the fix related to the taglibs + your commits on this PR: #889. Can you take a look there? Thanks! I'm closing this. |
Hi @rafaprax,
Can you review this PR?
You can find further information in LPS-83714.
The solution is based on this proposal by @natocesarrego.
First commit is enough to solve the issue. Second commit is to avoid execute useless code. Don't hesitate to ask me any question.
Thanks in advance.
Regards,