[gatein-issues] [JBoss JIRA] Updated: (GTNPORTAL-1513) Gadgets become unavailable from JCR after multiple edits.
Jon Kranes (JIRA)
jira-events at lists.jboss.org
Mon Oct 11 09:34:39 EDT 2010
[ https://jira.jboss.org/browse/GTNPORTAL-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Kranes updated GTNPORTAL-1513:
----------------------------------
Attachment: data.zip
To reproduce the issue:
(1) Install a new copy of GateIn with JBoss AS (zip file name: GateIn-3.1.0-FINAL-jbossas.zip) on a Windows XP system at C:\Program Files\jboss\GateIn-3.1.0-GA. (I have not tested on any other OS or directory location, so I don't know whether replication of the issue is dependent on these factors).
(2) Extract the attached zip file under server\default. The zip file contains the "data" directory that includes the JCR repository files.
(3) Run the server using the standard bin\run.bat
(4) Open the portal home page in a browser: http://localhost:8080/portal/private/classic/home
(5) Log in to the default root account
(6) Navigate to http://localhost:8080/portal/private/classic/home/Gadgets. You should see HTTP 500 errors for the three gadgets on this page.
(7) Navigate to http://localhost:8080/portal/private/classic/administration/registry. Attempt to edit gadgets "Test", "Test2" or "Calendar". You should see an error message "unknown error".
Note that the data directory in this attachment was the result of a brand new installation after about 10 minutes of repeated editing of gadget XML files for gadgets Test and Test2, which were simply default 'hello world' examples with the gadget name changed, and also editing of the included Calendar gadget. During editing of the gadgets I also frequently navigated back and forth between the Application Registry (for editing gadgets) and the home/Gadgets page to view the gadgets that I was editing.
> Gadgets become unavailable from JCR after multiple edits.
> ---------------------------------------------------------
>
> Key: GTNPORTAL-1513
> URL: https://jira.jboss.org/browse/GTNPORTAL-1513
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JCR integration
> Affects Versions: 3.1.0-GA
> Environment: Windows XP, JBoss AS 5.1.
> Reporter: Jon Kranes
> Assignee: kien nguyen
> Attachments: data.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> After editing a gadget's XML multiple times, the gadget becomes unavailable. The gadget still appears in the Application Registry, but any page where the gadget is embedded shows a 404 error. If you try to delete or edit the gadget, the system responds with an error dialog with the message 'Unknown error'. If you paste the gadget's 'View URL' into a browser, the response indicates a java.io.FileNotFoundException.
> The number of edits allowed before the error occurs is not consistent but seems to generally be in the range of 10 - 20.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list