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-29348 Change the reference from the attachment to the Object entry from ID to ERC #153938

Closed

Conversation

devpedrotavares
Copy link

Follow up: #153919

devpedrotavares and others added 17 commits September 4, 2024 13:26
# breaking

## What modules/apps/object/object-api/src/main/java/com/liferay/object/field/attachment/AttachmentManager.java

The methods named 'addFileEntry' were replaced with methods named 'getOrAddFileEntry'.

## Why

To introduce a new feature: get the file entry by the ERC, if it exists, or add it, if it does not.

----
… to create the empty shell and the fileBase64 will be in the body in some cases
@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.

@brianchandotcom
Copy link
Owner

@devpedrotavares much better. We're close. But in that test, I see

serviceBuilderFileEntry vs. testFileEntry vs. createdFileEntry

I"m not able to wrap my head around seeing consistent usage of this. Can you rename them for consistency? Thx.

Please resend on top of devpedrotavares#83

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.

3 participants