Bug 794341 (JBEPP-1386)

Summary: imported gadgets can have more than max characters which causes problems
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Matt Wringe <mwringe>
Component: unspecifiedAssignee: Matt Wringe <mwringe>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: epp-bugs, jmorgan
Target Milestone: ---   
Target Release: 5.2.1.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1386
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was discovered that an imported remote gadget description could contain more than 255 characters. If a user tried to edit a gadget with more than 255 characters in the description, an error message displayed: <literal>"The length of the text in field "Description :" must be between "0" and "255" characters."</literal>. The fix allows gadgets to have an unrestricted description length, which fixes the originally reported issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-08 20:16:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Wringe 2011-11-18 19:18:22 UTC
Steps to Reproduce: 1) import a gadget with a long description (for example, http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/hamster.xml)
2) add the gadget to a category
3) add the gadget wrapped portlet to a page
4) click on edit portlet then click 'save and close'
5) error message appears
project_key: JBEPP

If you import a remote gadget, that gadget's description can be longer than the maximum. But you will not be able to edit a gadget wrapper portlet which contains this gadget since an error message will appear on save: "The length of the text in field "Description :" must be between "0" and "255" characters."

Comment 1 Matt Wringe 2011-11-20 21:38:01 UTC
Link: Added: This issue depends GTNPORTAL-2282


Comment 2 Jared MORGAN 2011-11-20 23:32:06 UTC
Release Notes Docs Status: Added: Documented as Known Issue
Release Notes Text: Added: An imported remote gadget title can currently contain more than 255 characters. If you try to edit a gadget with more than 255 characters in the title, an error message will appear on save: "The length of the text in field "Description :" must be between "0" and "255" characters."


Comment 3 hfnukal@redhat.com 2012-01-18 00:39:39 UTC
Labels: Added: EPP_5_2_1_Candidate


Comment 4 Matt Wringe 2012-02-08 20:16:29 UTC
Issue has been fixed, gadgets and portlets no longer have a restriction on the length of a description

Comment 5 Matt Wringe 2012-02-08 20:16:29 UTC
Release Notes Docs Status: Removed: Documented as Known Issue Added: Not Yet Documented


Comment 6 Thomas Heute 2012-02-09 10:08:43 UTC
Labels: Removed: EPP_5_2_1_Candidate 


Comment 7 Jared MORGAN 2012-03-27 04:15:43 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
It was discovered that an imported remote gadget title could contain more than 255 characters. If a user tried to edit a gadget with more than 255 characters in the title, an error message will appear on save: "The length of the text in field "Description :" must be between "0" and "255" characters.". The fix allows gadgets to have an unrestricted title length, which fixes the originally reported issue.

Comment 8 Matt Wringe 2012-03-27 13:29:40 UTC
Updated the technical notes section since its the description length which has changted, not the title.

Comment 9 Matt Wringe 2012-03-27 13:29:40 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-It was discovered that an imported remote gadget title could contain more than 255 characters. If a user tried to edit a gadget with more than 255 characters in the title, an error message will appear on save: "The length of the text in field "Description :" must be between "0" and "255" characters.". The fix allows gadgets to have an unrestricted title length, which fixes the originally reported issue.+It was discovered that an imported remote gadget description could contain more than 255 characters. If a user tried to edit a gadget with more than 255 characters in the description, an error message will appear on save: "The length of the text in field "Description :" must be between "0" and "255" characters.". The fix allows gadgets to have an unrestricted description length, which fixes the originally reported issue.

Comment 10 Jared MORGAN 2012-03-28 00:35:36 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-It was discovered that an imported remote gadget description could contain more than 255 characters. If a user tried to edit a gadget with more than 255 characters in the description, an error message will appear on save: "The length of the text in field "Description :" must be between "0" and "255" characters.". The fix allows gadgets to have an unrestricted description length, which fixes the originally reported issue.+It was discovered that an imported remote gadget description could contain more than 255 characters. If a user tried to edit a gadget with more than 255 characters in the description, an error message displayed: <literal>"The length of the text in field "Description :" must be between "0" and "255" characters."</literal>. The fix allows gadgets to have an unrestricted description length, which fixes the originally reported issue.