Build failures
I'm no longer able to build Sling, the integration tests fail miserably. I'm getting this: -- Test set: org.apache.sling.launchpad.webapp.integrationtest.JsonRenderingTest --- Tests run: 8, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 61.172 sec FAILURE! testAssertJavascript(org.apache.sling.launchpad.webapp.integrationtest.JsonRenderingTest) Time elapsed: 61.128 sec FAILURE! junit.framework.AssertionFailedError: Server does not seem to be ready, after 6 msec, got the following 108 Exceptions:java.io.IOException: Expected status code 302 for POST, got 404, URL=h ttp://localhost:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPSHOT/WaitForSlingStartup_1204619889291 java.io.IOException: Expected status code 302 for POST, got 404, URL=http://localhost:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPSHOT/WaitForSlingStartup_1204619891055 [...] java.io.IOException: Expected status 200 but got 500 for URL=http://localhost:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPSHOT/WaitForSlingStartup_1204619900363 java.io.IOException: Expected status 200 but got 500 for URL=http://localhost:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPSHOT/WaitForSlingStartup_1204619901347 After that, all integration tests fail, because the Sling services didn't start: testSessionInfo(org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxSessionInfoTest) Time elapsed: 0.001 sec FAILURE! junit.framework.AssertionFailedError: Sling services not available. Already checked in earlier tests. Am I the only one seing this? -- Vidar S. Ramdal [EMAIL PROTECTED] - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway
Re: Build failures
On Tue, Mar 4, 2008 at 10:09 AM, Vidar Ramdal [EMAIL PROTECTED] wrote: I'm no longer able to build Sling, the integration tests fail miserably I think this was just fixed, mvn clean install works for me at revision 633396. Can you try again? -Bertrand
Re: Build failures
Yes, I just fixed the problem. The namespace prefixes of already installed bundles where not registered anymore. Carsten Bertrand Delacretaz wrote: On Tue, Mar 4, 2008 at 10:09 AM, Vidar Ramdal [EMAIL PROTECTED] wrote: I'm no longer able to build Sling, the integration tests fail miserably I think this was just fixed, mvn clean install works for me at revision 633396. Can you try again? -Bertrand -- Carsten Ziegeler [EMAIL PROTECTED]
Re: Build failures
On 3/4/08, Carsten Ziegeler [EMAIL PROTECTED] wrote: Yes, I just fixed the problem. The namespace prefixes of already installed bundles where not registered anymore. Thanks! The U jcr/base/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepository.java did the trick. -- Vidar S. Ramdal [EMAIL PROTECTED] - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway
Re: Build failures
On Tue, Mar 4, 2008 at 10:17 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: Yes, I just fixed the problem. The namespace prefixes of already installed bundles where not registered anymore Thanks Carsten! BTW, in such cases build failures are also reported by our continuum setup at http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=53 That box is shared and can be a bit slow at times, and builds only run every so often, so there's a lag w.r.t actual commits. -Bertrand
[jira] Assigned: (SLING-189) Consolidate launcher and launchpad modules
[ https://issues.apache.org/jira/browse/SLING-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-189: --- Assignee: Felix Meschberger Consolidate launcher and launchpad modules -- Key: SLING-189 URL: https://issues.apache.org/jira/browse/SLING-189 Project: Sling Issue Type: Improvement Components: Launcher Reporter: Bertrand Delacretaz Assignee: Felix Meschberger The launcher app and webapp modules should be merged with the launchpad module. For the launchpad, we need both a single runnable jar variant, for people to get started quickly, and a webapp variant. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Trouble posting data from form
On Tue, Mar 4, 2008 at 1:29 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: [...] you go to http://localhost:/sling/configMgr [...] Hmm, that page shows up blank - that is, only the header and the menu appears - no config options. hmm...looks like that page doesn't work in Safari, but it works for me on Firefox 2.0.0.12 - what browser are you using, and can you try firefox? -Bertrand
Re: Trouble posting data from form
On Tue, Mar 4, 2008 at 1:29 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: [...] you go to http://localhost:/sling/configMgr [...] Hmm, that page shows up blank - that is, only the header and the menu appears - no config options. On 3/4/08, Bertrand Delacretaz [EMAIL PROTECTED] wrote: hmm...looks like that page doesn't work in Safari, but it works for me on Firefox 2.0.0.12 - what browser are you using, and can you try firefox? I was using the latest Firefox 3 beta. Reverting to Firefox 2, I get the config options. BTW, it didn't work in either Safari or Opera 9. Thanks for your help! -- Vidar S. Ramdal [EMAIL PROTECTED] - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway
[jira] Created: (SLING-306) Property setting assums String by default
Property setting assums String by default - Key: SLING-306 URL: https://issues.apache.org/jira/browse/SLING-306 Project: Sling Issue Type: Bug Components: ujax Reporter: Carsten Ziegeler If I want to set properties on a node where the type is not a string, the ujax post servlet fails as it always assumes string as the property type if no type hint is given. I think the correct behaviour would be to let the repository try to convert the value into the required type if no type hint is set. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-307) QueryServlet
QueryServlet Key: SLING-307 URL: https://issues.apache.org/jira/browse/SLING-307 Project: Sling Issue Type: New Feature Components: Default Servlets Reporter: Philipp Koch it would be nice to have a way to specify a jcr query in the url in order to query the underlying jcr repository. the attached patch works as follows: The new query servlet is called if the extension is .json and the selector is set to query. you can pass following parameters in the url: statement: jcr query statement (XPATH or SQL) queryType: xpath or sql (of none is specified xpath is taken) property: specifies which property (relative path) has to be put into the result set (this parameter can be added multiple times) excerptPath: specifies the relative node path from where the excerpt has to be built. the result is returned as json string. e.g.: [ {name:ee0,rep:excerpt():excerptfragmentgeometrixx/components/contentpage ... ee\/fragment\/excerpt,jcr:path:/content/ee0,jcr:score:528,cq:content/jcr:title:ee}, {name:news,rep:excerpt():excerptfragment ... geometrixx/components/contentpage ... ... ... ... news about geometrix\/fragment\/excerpt,jcr:path:/content/geometrixx/en/about/news,jcr:score:521,cq:content/jcr:title:News} ] example query call: http://localhost:8080/sling/myhome.query.json?statement=//element(*,cq:Page)[jcr:contains(.,'sling')]/(rep:excerpt(.))property=cq:content/jcr:titleexcerptPath=cq:content -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-307) QueryServlet
[ https://issues.apache.org/jira/browse/SLING-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Koch updated SLING-307: --- Attachment: queryservlet.patch QueryServlet Key: SLING-307 URL: https://issues.apache.org/jira/browse/SLING-307 Project: Sling Issue Type: New Feature Components: Default Servlets Reporter: Philipp Koch Attachments: queryservlet.patch it would be nice to have a way to specify a jcr query in the url in order to query the underlying jcr repository. the attached patch works as follows: The new query servlet is called if the extension is .json and the selector is set to query. you can pass following parameters in the url: statement: jcr query statement (XPATH or SQL) queryType: xpath or sql (of none is specified xpath is taken) property: specifies which property (relative path) has to be put into the result set (this parameter can be added multiple times) excerptPath: specifies the relative node path from where the excerpt has to be built. the result is returned as json string. e.g.: [ {name:ee0,rep:excerpt():excerptfragmentgeometrixx/components/contentpage ... ee\/fragment\/excerpt,jcr:path:/content/ee0,jcr:score:528,cq:content/jcr:title:ee}, {name:news,rep:excerpt():excerptfragment ... geometrixx/components/contentpage ... ... ... ... news about geometrix\/fragment\/excerpt,jcr:path:/content/geometrixx/en/about/news,jcr:score:521,cq:content/jcr:title:News} ] example query call: http://localhost:8080/sling/myhome.query.json?statement=//element(*,cq:Page)[jcr:contains(.,'sling')]/(rep:excerpt(.))property=cq:content/jcr:titleexcerptPath=cq:content -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-308) Config page dropdown not displayed in Firefox 3, Safari and Opera 9
[ https://issues.apache.org/jira/browse/SLING-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-308: -- Attachment: safari-sling-config.jpg Safari screenshot, nothing's displayed below the Assemblies/Bundles/... menu Config page dropdown not displayed in Firefox 3, Safari and Opera 9 --- Key: SLING-308 URL: https://issues.apache.org/jira/browse/SLING-308 Project: Sling Issue Type: Bug Components: Console Reporter: Bertrand Delacretaz Attachments: safari-sling-config.jpg Reported by Vidar Ramdal on [EMAIL PROTECTED] Confirmed on Safari 3.0.4 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Trouble posting data from form
On Tue, Mar 4, 2008 at 2:29 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: ... I was using the latest Firefox 3 beta. Reverting to Firefox 2, I get the config options. BTW, it didn't work in either Safari or Opera 9 Thanks for reporting, this is now https://issues.apache.org/jira/browse/SLING-308 -Bertrand
[jira] Commented: (SLING-308) Config page dropdown not displayed in Firefox 3, Safari and Opera 9
[ https://issues.apache.org/jira/browse/SLING-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12575001#action_12575001 ] Vidar S. Ramdal commented on SLING-308: --- This seems to be due to an unclosed script tag on line 11. Replace script type='text/javascript' src='res/ui/configmanager.js' with script type='text/javascript' src='res/ui/configmanager.js'/script and you're good. Config page dropdown not displayed in Firefox 3, Safari and Opera 9 --- Key: SLING-308 URL: https://issues.apache.org/jira/browse/SLING-308 Project: Sling Issue Type: Bug Components: Console Reporter: Bertrand Delacretaz Attachments: safari-sling-config.jpg Reported by Vidar Ramdal on [EMAIL PROTECTED] Confirmed on Safari 3.0.4 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-189) Consolidate launcher and launchpad modules
[ https://issues.apache.org/jira/browse/SLING-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-189. --- Resolution: Fixed Fix Version/s: 2.0.0 As of Rev. 633491 the former launcher modules have been merged with the launchpad modules and the launcher folder has been removed. Closing this issue for now. Follow up issues should be created as new issues. Consolidate launcher and launchpad modules -- Key: SLING-189 URL: https://issues.apache.org/jira/browse/SLING-189 Project: Sling Issue Type: Improvement Components: Launcher Reporter: Bertrand Delacretaz Assignee: Felix Meschberger Fix For: 2.0.0 The launcher app and webapp modules should be merged with the launchpad module. For the launchpad, we need both a single runnable jar variant, for people to get started quickly, and a webapp variant. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r633495 - /incubator/sling/trunk/pom.xml
I removed the two projects from continuum as well. Carsten [EMAIL PROTECTED] wrote: Author: fmeschbe Date: Tue Mar 4 06:44:45 2008 New Revision: 633495 URL: http://svn.apache.org/viewvc?rev=633495view=rev Log: SLING-189 fix references to new and removed modules in reactor pom Modified: incubator/sling/trunk/pom.xml Modified: incubator/sling/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/sling/trunk/pom.xml?rev=633495r1=633494r2=633495view=diff == --- incubator/sling/trunk/pom.xml (original) +++ incubator/sling/trunk/pom.xml Tue Mar 4 06:44:45 2008 @@ -116,8 +116,7 @@ !-- Launcher -- modulelaunchpad/launchpad-content/module -modulelauncher/app/module -modulelauncher/webapp/module +modulelaunchpad/app/module /modules distributionManagement -- Carsten Ziegeler [EMAIL PROTECTED]
[SLING-189] Launcher and Launchpad merge (was: svn commit: r633495 - /incubator/sling/trunk/pom.xml)
Hi all, This is just to inform you all, that I finally managed to merge the former launcher modules app and webapp into launchpad. The launcher/app module is now the launchpad/app module while the launcher/webapp stuff has been merged into the launchpad/launchpad-webapp module. Except for a ujax move test, all integration tests seem to run. I will investigate the last failing test shortly. One question remains: should we have the launchpad- prefix in the folder names of the launchpad modules or not ? Given the other modules, which are not prefixed with their parent folder names, I would suggest to rename launchpad/launchpad-webapp and launchpad/launchpad-content into launchpad/webapp and launchpad/content, resp. [ This has no influence on the bundle symbolic names and project names, it is just the folder names ]. WDYT ? Am Dienstag, den 04.03.2008, 15:50 +0100 schrieb Carsten Ziegeler: I removed the two projects from continuum as well. Thanks, I just want to ask you to remove these (and instead add the new launchpad/app module). Regards Felix
Re: svn commit: r633495 - /incubator/sling/trunk/pom.xml
On Tue, Mar 4, 2008 at 3:50 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: I removed the two projects from continuum as well. Thanks - and in the meantime there's more work for you ;-) +!-- Extensions -- +moduleextensions/apt/apt-parser/module +moduleextensions/apt/apt-servlet/module + -Bertrand
Re: [SLING-189] Launcher and Launchpad merge
Felix Meschberger wrote: Hi all, This is just to inform you all, that I finally managed to merge the former launcher modules app and webapp into launchpad. The launcher/app module is now the launchpad/app module while the launcher/webapp stuff has been merged into the launchpad/launchpad-webapp module. Great Except for a ujax move test, all integration tests seem to run. I will investigate the last failing test shortly. One question remains: should we have the launchpad- prefix in the folder names of the launchpad modules or not ? Given the other modules, which are not prefixed with their parent folder names, I would suggest to rename launchpad/launchpad-webapp and launchpad/launchpad-content into launchpad/webapp and launchpad/content, resp. [ This has no influence on the bundle symbolic names and project names, it is just the folder names ]. +1 for renaming - same applies for the new apt modules. Thanks, I just want to ask you to remove these (and instead add the new launchpad/app module). Yepp, I added this one as well. Carsten -- Carsten Ziegeler [EMAIL PROTECTED]
Re: [SLING-189] Launcher and Launchpad merge
On Tue, Mar 4, 2008 at 4:33 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... +1 for renaming - same applies for the new apt modules +1 as well, and I have renamed the extensions/apt modules as suggested - please update continuum accordingly ;-) -Bertrand
[jira] Resolved: (SLING-308) Config page dropdown not displayed in Firefox 3, Safari and Opera 9
[ https://issues.apache.org/jira/browse/SLING-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-308. --- Resolution: Fixed Of course, good catch! Fixed in revision 633534 Config page dropdown not displayed in Firefox 3, Safari and Opera 9 --- Key: SLING-308 URL: https://issues.apache.org/jira/browse/SLING-308 Project: Sling Issue Type: Bug Components: Console Reporter: Bertrand Delacretaz Attachments: safari-sling-config.jpg Reported by Vidar Ramdal on [EMAIL PROTECTED] Confirmed on Safari 3.0.4 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [SLING-189] Launcher and Launchpad merge
Bertrand Delacretaz wrote: On Tue, Mar 4, 2008 at 4:33 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... +1 for renaming - same applies for the new apt modules +1 as well, and I have renamed the extensions/apt modules as suggested - please update continuum accordingly ;-) Done and please see title #15 of the Very Best of The Smiths... :) Carsten -- Carsten Ziegeler [EMAIL PROTECTED]
Re: [SLING-189] Launcher and Launchpad merge
Bertrand Delacretaz wrote: On Tue, Mar 4, 2008 at 5:50 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... Done and please see title #15 of the Very Best of The Smiths... I was going to search Google for that, but I'm not sure if that joke is funny anymore ;-) :) Carsten -- Carsten Ziegeler [EMAIL PROTECTED]
Re: [SLING-189] Launcher and Launchpad merge
Hi, Am Dienstag, den 04.03.2008, 17:29 +0100 schrieb Bertrand Delacretaz: On Tue, Mar 4, 2008 at 4:33 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... +1 for renaming - same applies for the new apt modules +1 as well, and I have renamed the extensions/apt modules as suggested - please update continuum accordingly ;-) Ok, and I did launchpad-* ... another fix to continuum registration required ;-) Thanks and Regards Felix