Details
-
Story
-
Status: Closed
-
Critical
-
Resolution: Completed
-
None
Description
Context:
Many use cases requires users to create relationship between their custom objects with native entities of the portal. One of those use cases, even being a internal use case, is to be able to add attachments (or upload files) in custom object entries. Those files must be saved and organized in the standard repository of Liferay, so they can follow Liferay patterns and rules as accepted file types, file size limit and so on.
This story aims to solve the relationship between native (many) to custom (many). This use case can be seen in the following example:
- Tickets (custom object) that require attachments from end users and those attachments can only be related to that Ticket. When the end user adds the attachments, those files are in the default Liferay respository (Native Object), while the ID is saved in the related Ticket (custom object).
Mockups:
The story does not need mockups. It is the same behavior of many-to-many between custom objects, but allowing users to relate custom with native ones as well.
Acceptance Criteria
1 - Given a power user,
when editing an entry,
then I must be able to relate one Custom Object Entry to many Native Objects Entries
2 - Given a power user,
when editing an entry,
then I must be able to show one Custom Object Entry to many Native Objects Entries
3 - Given a power user,
when modeling a Custom Object,
then I must be able to add a relationship to a System Object (Many to Many)
4 - Given a power user,
when modeling a Custom Object or System Object,
then I must not be able to add a self relationship (Many to Many)
Definition of Done (DoD):
- All Acceptance Criteria were passed;
- Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
- Validated by QA and Product Manager;
- No critical bug related to Story scope (FP5);
- Make sure that all system documentation were updated (if necessary)
Attachments
Issue Links
- depends on
-
LPS-151676 As a power user, I want to create a one-to-many relationship between custom and native objects
-
- Closed
-
-
LPS-149998 Investigate missing parts of Native Objects feature
-
- Closed
-
-
LPS-151722 Investigate Relationship M-to-M (Custom and Native Objects)
-
- Closed
-
- is a dependency of
-
LPS-154058 Remove FF from "As a power user, I want to create a many-to-many relationship between Native (System) and Custom Objects"
-
- Closed
-
-
LRDOCS-10584 Document many-to-many relationship between Native (System) and Custom Objects
-
- Closed
-
- is duplicated by
-
LPS-145360 As a power user, I want to create a relationship many-to-many related to Native (System) Objects
-
- Closed
-
-
LPS-151663 As a power user, I want to create a relationship between Native (System) and Custom Objects
-
- Closed
-
- is related to
-
LPS-145393 As a power user, I want to create an one-to-many relationship between Native (System) and Custom Objects
-
- Closed
-
- relates
-
LPS-154218 Add Integration Tests - Many-to-Many (System/Custom Objects)
-
- Closed
-
- Testing discovered
-
LPS-155360 Warning thrown after navigating to relationship tab in custom object entry
- Closed