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

WIP LPD-42539 SitePage Batch Export Import Test prepared for taskItemDelegate #577

Open
wants to merge 345 commits into
base: master
Choose a base branch
from

Conversation

ruben-pulido
Copy link
Owner

master

brianikim and others added 30 commits December 6, 2024 11:23
# breaking

## What modules/apps/commerce/commerce-currency-api/bnd.bnd

modules/apps/commerce/commerce-currency-api/src/main/java/com/liferay/commerce/currency/util/CommercePriceFormatter.java now className as a parameter for parse(ActionRequest actionRequest, String className, String param) and parse(String className, String price, Locale locale)

## Why

this change is required to handle throwing of exceptions with correct class

----
…tings does not overwrite existing persisted preferences for other actions, such as canonicals and custom tags
ealonso and others added 29 commits December 9, 2024 06:57
…e directly to feature flags the portlet is not properly loaded
getSiteSiteByExternalReferenceCodeSitePagesPage returning
widget pages
…il put (with upsert) is implemented for SitePages
Jackson cannot infer the type discriminator if the class is not a direct
instance of the polymorphic subclass. When we instantiate the subclass
with an initializer block we are actually creating a subtype of the
subclass which causes the serialization to fail.

This CURL reproduces the issue:

curl -X 'GET' \
  'http://localhost:8080/o/headless-admin-site/v1.0/sites/L_GUEST/site-pages' \
  -H 'accept: application/json' \
  -u '[email protected]:test'

Returning this JSON:

{
    ...
    "pageSettings" : {
      "type" : "SitePageDTOConverter$2",
      "hiddenFromNavigation" : true,
      "layoutTemplateId" : "1_2_columns_i",
      "type" : "WidgetPageSettings"
    },
    ...
}
@liferay-continuous-integration
Copy link
Collaborator

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.

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

Successfully merging this pull request may close these issues.