-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.1.10 DXP FP25, 7.1.X, 7.2.10 DXP FP14, 7.2.10.5 DXP SP5, 7.2.X, 7.3.7 CE GA8, 7.3.10 DXP FP2, 7.3.X, 7.4.1 CE GA2, 7.4.13 DXP GA1, Master
-
Component/s: Core Infrastructure
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Description:
No item selector views found for image-journal when trying to upload an image passing through I18nServlet.java#L244
Seems that this code is cutting of on the URL and is not being able to open dialogue correctly:
path.substring( friendlyURLSeparatorIndex + friendlyURLSeparator.length())
Redirected URL:
Redirect /group/guest/~/control_panel/manage/-/select/journal,image/_com_liferay_journal_web_portlet_journalportlet_selectdocumentlibrary
Expected URL:
Redirect /group/guest/~/control_panel/manage/-/select/journal-image/_com_liferay_journal_web_portlet_journalportlet_selectdocumentlibrary
In the URL the part "/journal,image/" has a comma and the expected one should be as so, but gets changed with a line as "/journal-image/"
Steps:
1. Go to Content & Data > Web Content > Structures > create new structure by clicking +
2. Add to this structure an image field and upload field
3. Go to Web content and create a new one using the structure created at step 1
4. Having the default language selected as English open the dialogue to upload an image (it should open correctly)
5. Now go to the browser URL and add in front /es/ in order to change the display language from English to Spanish
6. Open again the dialogue to upload an image or file (shouldn't work a dialogue is opened with a message "Selection is not available")
Actual: A dialogue is opened with a message "Selection is not available" when adding language in the URL
Expected: A dialogue to upload an image or file in a journal article is opened correctly when adding language in the URL
- is caused by
-
LPS-130105 JBoss 7.2 wrong pathinfo comes encoded in I18nServlet resulting in double encoding
- Closed