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

feat: interprets the relative URLs of pagelet parameters "bc_pmc:type… #1223

Merged
merged 7 commits into from
Aug 1, 2022

Conversation

tbouliere-datasolution
Copy link
Contributor

@tbouliere-datasolution tbouliere-datasolution commented Jul 21, 2022

…s.pagelet2-ImageFileRef" generically

Until now only parameter that starts with image or video were interpreted
Now any parameter that
extends "bc_pmc:types.pagelet2-ImageFileRef" will be interpreted

PR Type

[ ] Bugfix
[ X ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

Issue Number: Closes #385

What Is the New Behavior?

Does this PR Introduce a Breaking Change?

[ X ] Yes
[ ] No

The CMS configuration parameter model now has a mandatory type parameter. If you have been writing Jest tests involving configuration parameter values, you have to add any given type value.

Other Information

…s.pagelet2-ImageFileRef" generically

Until now only parameter that starts with image or video were interpreted
Now any parameter that
extends "bc_pmc:types.pagelet2-ImageFileRef" will be interpreted
@shauke
Copy link
Collaborator

shauke commented Jul 21, 2022

Nice. Thank you. I suppose this is finally the fix for #385. 😉
Would you mind extending the handling to the FileRef configuration parameter as well as the ImageFileRef?

@tbouliere-datasolution
Copy link
Contributor Author

I add FileRef support.
Unlike the imagefileRef I did not test it with real data.
It would be necessary to to check that there is no side effect.

@shauke
Copy link
Collaborator

shauke commented Jul 21, 2022

We can take care of this in our review. Thank you for your effort.

@shauke shauke added this to the 3.0 milestone Jul 21, 2022
@jometzner jometzner self-assigned this Jul 25, 2022
@jometzner jometzner removed this from the 3.0 milestone Jul 25, 2022
@shauke shauke added this to the 3.0 milestone Aug 1, 2022
@jometzner jometzner merged commit 3957b14 into intershop:develop Aug 1, 2022
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.

content-configuration-parameter.mapper.ts should use configuration parameter type for file reference mappings
3 participants