Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.3.x, 7.2.x, 7.1.x
-
Committed
-
3
-
Regression Bug
Description
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
Attachments
Issue Links
- is caused by
-
LPS-130105 JBoss 7.2 wrong pathinfo comes encoded in I18nServlet resulting in double encoding
- Closed