Bug 794341 (JBEPP-1386) - imported gadgets can have more than max characters which causes problems
Summary: imported gadgets can have more than max characters which causes problems
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-1386
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.1.GA
Assignee: Matt Wringe
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-18 19:18 UTC by Matt Wringe
Modified: 2012-03-28 00:35 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-02-08 20:16:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-1386 0 None Closed imported gadgets can have more than max characters which causes problems 2012-04-20 02:33:23 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.