-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.X EE, 6.2.X EE
-
Fix Version/s: 6.2.5 CE GA6, 6.2.X EE
-
Component/s: Documents & Media, ~ [Archived] Frontend Infrastructure
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
We are going to revert back to the AUI-533 behavior, by default, and provide an opt-out attribute to make custom rules optional. Existing custom validators should work, without any changes necessary.
See conversation at: https://github.com/liferay/alloy-ui/commit/3315c7aa85f2f6d74bbb319f6c1a70bb1aae1fa1#commitcomment-13858574
—
Setup Site URL Tests:
- Enable Staging (Control Panel > Sites > Site Settings >Staging > Local Live)
- Goto Site URL ( Control Panel > Sites > Site Settings > Site URL)
Site URL: Blank Test:
- Tab/Click through the fields:
- Public Pages
- Private Pages
- Staging Public Pages
- Staging Private Pages
Expected Result: No validation (green or red) should occur.
Actual Result: Same (there are no current issues here)
Site URL: Same URL Test:
- Add values to the fields:
- Public Pages: SAMEURL
- Private Pages: SAMEURL
- Staging Public Pages: SAMEURL
- Staging Private Pages: SAMEURL
- Tab/Click through the fields:
Expected Result: Private Pages & Staging Private Pages should error (red)
Actual Result: Same (there are no current issues here)
Site URL: Unique URL Test:
- Add values to the fields:
- Public Pages: SAMEURL
- Private Pages: UNIQUEURL
- Staging Public Pages: SAMEURL
- Staging Private Pages: UNIQUEURL
- Tab/Click through the fields:
Expected Result: Private Pages & Staging Private Pages should be valid (green)
Actual Result: Same (there are no current issues here)
Setup Basic Document Test
- Add Documents and Media portlet to a page
- Click Add > Basic Document
Basic Document: Blank Test
- Click Publish
Expected Result: Error Validation message (red) on Title field should display and the form should not submit.
Actual Result: Same (there are no current issues here)
Basic Document: File Test
- Click Choose File
- Select a file from computer
- Leave Title field blank
- Click Publish
Expected Result: Form should submit. Should bring you back to file list with a message "Your request completed successfully".
Actual Result: Same (there are no current issues here)
Basic Document: Title Test
- Add a value (asdf) to the Title field
- Click Publish
Expected Result: Form should submit. Should bring you back to file list with a message "Your request completed successfully".
Actual Result: Same (there are no current issues here)
Cache Stats Test (Control Panel > System > Server Administration > Cache Statistics)
- Search for: "Journal"
Expected Result: Filtered Results
Actual Result: Same (there are no current issues here)
- Search for: ""
Expected Result: All/Unfiltered Results
Actual Result: Same (there are no current issues here)
- Search for: "@#$"
Expected Result: Validation Error
Actual Result: Same (there are no current issues here)
- causes
-
LPS-61341 Can't publish empty non-required field
- Closed
-
LPS-64929 Script custom validation not working
- Closed
- is caused by
-
LPS-58127 Refactor changes in LPS-19007 to account for changes in AUI-1958
- Closed
- is related to
-
AUI-2027 Revert AUI-1958. Allow requiring custom validation without field values
-
- Closed
-
-
LPS-60995 Partially revert LPS-58127. Remove custom property from AUI Validator. Refactor custom Validators
- Closed
- relates
-
LPE-14752 Update alloy-taglib to resolve UI and validator issues
-
- Closed
-
-
LPE-14562 Create an opt-out for required custom validator
-
- Closed
-
-
LPE-14563 Partially revert LPS-58127 and create an opt-out for custom validator required instead
-
- Closed
-
-
LPE-14728 Partially revert LPS-58127. Instead create an opt-out for custom validator required
-
- Closed
-