Docstoc

Alfresco JIRA

Document Sample
Alfresco JIRA Powered By Docstoc
					[ALFCOM-3452] WCM - no files under /extras/wcm Created: 07-Oct-09 Updated: 16-Nov-09
Resolved: 16-Nov-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Installation, WCM
Affects Version/s: 3.2
Fix Version/s:     3.2
Security Level: external (External user)

Type:                 Bug                       Priority:          Major
Reporter:             Jan Vonka                 Assignee:          Steve Rigby
Resolution:           Fixed                     Votes:             0
Labels:               None
Remaining             Not Specified
Estimate:
Time Spent:           Not Specified
Original              Not Specified
Estimate:

Issue Links:          Related
                      is related to ALFCOM-3451   Impossible to create content based   Closed
                      by                          on...
                      is related to ETHREEOH-     Change the name of the WCM           Closed
                      by            3275          "xforms" d...
Regression:           Regression
Date of First         08/Oct/09 4:28 PM
Response:

Description
Community 3.2 packages are missing WCM sample files, as referred to by "Getting Started with
Web Content Management (WCM) for Alfresco Community Edition 3.2"

Source location (HEAD):

http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/web-
client/source/test-resources/xforms/examples/getting-started-sample/

Comments
Comment by Jan Vonka [ 08-Oct-09 ]
Also available within separate download:

http://wiki.alfresco.com/wiki/Community_Edition_file_list#Other

alfresco-xforms-examples-3.2.tar.gz sample files of xform definitions
alfresco-xforms-examples-3.2.zip sample files of xform definitions, zipped
under:

/examples/getting-started-sample/



Comment by Gavin Cornwell [ 09-Oct-09 ]
Removed the outdated evaluation guide as requested:
https://issues.alfresco.com/jira/browse/CHK-9656

Back to you for installer bits.
Comment by Paul Holmes-Higgin [ 09-Oct-09 ]
Docs need to change guide as samples are now a separate download, not in bundles.
Comment by Mark Rogers [ 15-Oct-09 ]
The new package name managed to confuse me. The download package has the title alfresco-
xforms-examples. However there's more in that download than just xforms e.g. sample ASR
webscripts.

I was looking for the "wcm extras" or "wcm sample forms". I think that either the package name
needs to change or a few more words need to be added to the download web page.
Comment by Briana Wherry [ 20-Oct-09 ]
Will fix the WCM Guide to reflect where you can get the sample files and Mark has updated the
wiki list so the files are now under WCM, not Other.

However, Mark, I think we now have too many issue in one bug. Please create a new issue for
your last comment about the renaming. Don't want it to get lost in the detail.
Comment by Briana Wherry [ 20-Oct-09 ]
Updated WCm guide added to Wiki and Content Community with the correct instructions to
obtain the sample files.
Comment by Mark Rogers [ 23-Oct-09 ]
Yes - I discussed this with Paul.

We all agreed that I can't change the 3.2r release which has already gone out of the door.

But the plan is that once the 3.2 E branch is created we will change the name of the install
package there. And I will raise an issue then.
Comment by Mark Rogers [ 05-Nov-09 ]
The 3.2r wiki has been updated.

The 3.2r documentation has been updated.

ETHREEOH-3275 has been raised to get the name of the package changed on the Enterprise 3.2
branch.
Comment by Steve Rigby [ 13-Nov-09 ]
for retest
Comment by Alfresco QA Team [ 13-Nov-09 ]
1. Have installed Alfresco using Alfresco-Community-3.2r2-Linux-x86-Install and found
extras/wcm/alfresco-sample-website.war .
2. The same time alfresco-community-wcm-3.2r2.zip contains empty folders extras/wcm/
3. The same time alfresco-xforms-examples-3.2r2.zip contains examples/getting-started-
sample/alfresco-sample-website.war .

Reopened in Alfresco 3.2 CE b 2440.
Comment by Paul Holmes-Higgin [ 16-Nov-09 ]
CHK-10313
[ALFCOM-3426] IMAP - mails aren't imported Created: 24-Sep-09 Updated: 20-May-10 Resolved: 20-
May-10
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:              Contribution                 Priority:          Minor
Reporter:          cytrix                       Assignee:          Mark Rogers
Resolution:        Fixed                        Votes:             0
Labels:            None
Remaining          Not Specified
Estimate:
Time Spent:        Not Specified
Original           Not Specified
Estimate:

Attachments:         imap_dateSentExtract.txt
Issue Links:       Related
Date of First      25/Sep/09 5:18 PM
Response:

 Description
Since a patch to extract dateSent and dateReceived metadatas, emails don't imported correctly
and dateSent and dateReceived are reversed in the model (date header =
mimeMessage.getSentDate()).
I think it's difficult to extract dateReceived (one "Received" header per relay and should be
parsed).

Here a small patch to correct dateSend extraction.

Comments
Comment by Mark Rogers [ 25-Sep-09 ]
Thanks for the contribution. I've changed the imap model.

Need to study the difference between the two dates some more before completing this issue.
Comment by Mark Rogers [ 20-May-10 ]
This contribution was applied to alfresco some time ago. However part of the issue remained
open which was how to process the "received date".

That part of the issue has been resolved in ALF-2716 so the issue can now be closed.
[ALFCOM-3229] Issue in scripts/ajax/common.js Created: 17-Jul-09 Updated: 06-Sep-12 Resolved: 06-
Sep-12
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Web Framework
Affects Version/s: 3D
Fix Version/s:     3.2
Security Level: external (External user)

Type:                Bug                          Priority:         Minor
Reporter:            Raphaël Bosc                 Assignee:         QA Backlog Unassigned
Resolution:          Won't Fix                    Votes:            0
Labels:              None
Remaining            Not Specified
Estimate:
Time Spent:          Not Specified
Original             Not Specified
Estimate:

Date of First        20/Jul/09 5:42 PM
Response:

 Description
I think there is a bug in line 537 of "scripts/ajax/common.js" :

for (var i in params)
   {
      var p = document.createElement("input");
      p.type = "hidden";
      form.appendChild(p);
      id.name = i;
      id.value = params[i];
   }

I guess it should be like this :

for (var i in params)
   {
      var p = document.createElement("input");
      p.type = "hidden";
      form.appendChild(p);
      p.name = i;
      p.value = params[i];
   }

Comments
Comment by Paul Holmes-Higgin [ 20-Jul-09 ]
Mike - is this a bug? If so, still in 3.2?
[ALFCOM-3108] Error on Console when selecting 'Change Type' for a
document in Share Created: 30-Jun-09 Updated: 30-Jun-09 Resolved: 30-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Share
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:              Bug                           Priority:          Critical
Reporter:          Steve Rigby                   Assignee:          Mike Hatfield
Resolution:        Fixed                         Votes:             0
Labels:            None
Remaining          Not Specified
Estimate:
Time Spent:        Not Specified
Original           Not Specified
Estimate:

Issue Links:       Related
Date of First      30/Jun/09 2:16 PM
Response:

Description
Note, the 'Change Type' list is empty.
The error is:

12:30:29,114 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript
- redirecting to status template error: 05300110 Wrapped Exception (with status template):
05300109 Failed to execute script '/org/alfresco/slingshot/documentlibrary/types.get.js (in
classpath store file:E:/alfresco-community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts)': 05300108 SyntaxError: XML objects may contain at
most one node. (file:E:/alfresco-community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js#19
)
org.alfresco.web.scripts.WebScriptException: 05300110 Wrapped Exception (with status
template): 05300109 Failed to execute script '/org/alfresco/slingshot/documentlibrary/types.get.js
(in classpath store file:E:/alfresco-community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts)': 05300108 SyntaxError: XML objects may contain at
most one node. (file:E:/alfresco-community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js#19
)
at
org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:165)
at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:357)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionH
elper.java:326)
at
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.ja
va:407)
at
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.
java:424)
at
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:288)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:29
0)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.jav
a:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 05300109 Failed to execute script
'/org/alfresco/slingshot/documentlibrary/types.get.js (in classpath store file:E:/alfresco-
community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts)': 05300108 SyntaxError: XML objects may contain at
most one node. (file:E:/alfresco-community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js#19
)
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:178)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:274)
at
org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcesso
r.java:108)
at org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:819)
at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)
... 21 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 05300108 SyntaxError: XML objects
may contain at most one node. (file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js#19
)
at
org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:465
)
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:174)
... 25 more
Caused by: org.mozilla.javascript.EcmaError: SyntaxError: XML objects may contain at most
one node. (file:E:/alfresco-community-tomcat-3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js#19
)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
at org.mozilla.javascript.xmlimpl.XmlProcessor.toXml(XmlProcessor.java:226)
at org.mozilla.javascript.xmlimpl.XmlNode.createElement(XmlNode.java:102)
at org.mozilla.javascript.xmlimpl.XMLLibImpl.parse(XMLLibImpl.java:409)
at org.mozilla.javascript.xmlimpl.XMLLibImpl.ecmaToXml(XMLLibImpl.java:433)
at org.mozilla.javascript.xmlimpl.XMLObjectImpl.ecmaToXml(XMLObjectImpl.java:779)
at org.mozilla.javascript.xmlimpl.XML.jsConstructor(XML.java:250)
at org.mozilla.javascript.xmlimpl.XMLObjectImpl.execIdCall(XMLObjectImpl.java:570)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:313)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2132)
at org.mozilla.javascript.gen.c43._c1(file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js:19)
at org.mozilla.javascript.gen.c43.call(file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c43._c0(file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js:35)
at org.mozilla.javascript.gen.c43.call(file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c43.call(file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js)
at org.mozilla.javascript.gen.c43.exec(file:E:/alfresco-community-tomcat-
3.2/tomcat/webapps/alfresco/WEB-
INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/types.get.js)
at
org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:449
)
... 26 more


 Comments
Comment by Mike Hatfield [ 30-Jun-09 ]
r15034
CHK-8049
Comment by Kevin Roast [ 30-Jun-09 ]
ignore..
[ALFCOM-2955] Inconsistencies in default text on dashlets Created: 10-Jun-09 Updated: 12-Jun-
09 Resolved: 12-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Share
Affects Version/s: 3.2
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                       Priority:        Critical
Reporter:                Kathryn MacLean           Assignee:        Lawrence Carvalho
Resolution:              Fixed                     Votes:           0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:

Documentation            User interface changes
required:
Documentation            Documentation needs updating
Impact:
Date of First            11/Jun/09 11:38 AM
Response:

 Description
Inconsistency: Some dashlets contain default text while others don't.

Personal Dashboard
My Site Activities: "No Recent Activities" should be "No recent activities"
My Workspaces: has no default text; suggest we add "No workspaces to display"

Site Dashboard
Site Calendar: has no default text; should be "No upcoming events" to match My Calendar
dashlet on personal dashboard
Site Activities: "No Recent Activities" should be "No recent activities"
Site LInks: has no default text; suggest we add "No links to display"

Comments
Comment by Steve Rigby [ 11-Jun-09 ]
Upgraded to critical due to the impact on usability and required documentation updates.
Comment by Lawrence Carvalho [ 12-Jun-09 ]
CHK-7733
[ALFCOM-2947] CMIS: createFolder & immediately add document can fail
Created: 08-Jun-09 Updated: 22-Jun-09 Resolved: 11-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: 3.2
Fix Version/s:     3.2
Security Level: external (External user)

Type:                     Bug                                   Priority:   Major
Reporter:                 Christian Tytgat                      Assignee:   David Caruana
Resolution:               Fixed                                 Votes:      0
Labels:                   None
Remaining                 Not Specified
Estimate:
Time Spent:               Not Specified
Original                  Not Specified
Estimate:
Environment:              Alfresco 3.2 preview 2 1900 + MySql

Attachments:                CmisClient.java                 out.txt
Issue Links:              Dependency
Date of First             08/Jun/09 5:49 PM
Response:

 Description
Using my an abdera client, I sometimes upload a large set of folders and documents using the
cmis rest api. After a minute or so I almost always get a failure like shown below.
Although the folder does exist, alfresco reports a status 404 at the time the document is
submitted. Inserting a 100ms sleep after the folder creation solves the issue, so there is definitely
a synchronization issue somewhere.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Web Script Status 404 - Not Found</title>
    <link rel="stylesheet" href="/alfresco/css/base.css" type="text/css" />
  </head>
  <body>
    <div>
      <table>
        <tr>
          <td><img src="/alfresco/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
          <td><span class="title">Web Script Status 404 - Not Found</span></td>
        </tr>
      </table>
      <br/>
      <table>
        <tr><td>The Web Script <a
href="/alfresco/service/api/node/workspace/SpacesStore/964acf0b-fe82-4c56-984b-
e63c96f63781/children">/alfresco/service/api/node/workspace/SpacesStore/964acf0b-fe82-4c56-
984b-e63c96f63781/children</a> has responded with a status of 404 - Not Found.</td></tr>
      </table>
      <br/>
      <table>
        <tr><td><b>404 Description:</b></td><td> Requested resource is not
available.</td></tr>
        <tr><td>&nbsp;</td></tr>
        <tr><td><b>Message:</b></td><td>Repository node workspace/SpacesStore/964acf0b-
fe82-4c56-984b-e63c96f63781 not found</td></tr>
        <tr><td><b>Server</b>:</td><td>Alfresco Labs v3.2.0 (_Preview2 1900) schema
2,011</td></tr>
        <tr><td><b>Time</b>:</td><td>Jun 8, 2009 1:21:14 PM</td></tr>
        <tr><td></td><td>&nbsp;</td></tr>
        <tr><td><b>Diagnostics</b>:</td><td><a
href="/alfresco/service/script/org/alfresco/repository/store/children.post">Inspect Web Script
(org/alfresco/repository/store/children.post)</a></td></tr>
      </table>
    </div>
  </body>
</html>



 Comments
Comment by Christian Tytgat [ 08-Jun-09 ]
note: I only get this when running alfresco on localhost. A remote alfresco doesn't show the issue
due to the network lag between creating the folder and creating the document.
Comment by David Caruana [ 08-Jun-09 ]
Can you provide client code that reproduces this error? This will help resolve much more
quickly.
Comment by Christian Tytgat [ 08-Jun-09 ]
I'll try to provide some client code
Comment by Christian Tytgat [ 09-Jun-09 ]
Sample app + output to reproduce the problem. Run alfresco locally.
Funny thing is that it almost always fails at the same folder count.
Comment by David Caruana [ 10-Jun-09 ]
Thanks. I can reproduce the issue.
Comment by David Caruana [ 11-Jun-09 ]
The issue is now fixed. Your test has also been added, which now succeeds of course.
[ALFCOM-2946] FSR Targets need unique metadata. Created: 08-Jun-09 Updated: 11-Jun-09
Resolved: 11-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       WCM
Affects Version/s: 3D
Fix Version/s:     3.2
Security Level: external (External user)

Type:                 Bug                        Priority:          Major
Reporter:             Mark Rogers                Assignee:          Paul Holmes-Higgin
Resolution:           Fixed                      Votes:             0
Labels:               None
Remaining             Not Specified
Estimate:
Time Spent:           Not Specified
Original              Not Specified
Estimate:

Issue Links:          Related

Description
This problem present in earlier versions of Alfresco.

During 3.2 development I encountered a problem where I had configured two FSR deployment
targets with the same metadata directory. Validation kicked off on one target and "auto fixed" the
metadata. Since the meta-data was shared between targets this damaged the other target that had
an in-flight deployment.

This issue to record the problem so it can be linked if and when we need to fix previous versions.

Comments
Comment by Mark Rogers [ 08-Jun-09 ]
Changed the design of 3-2.
Comment by Mark Rogers [ 11-Jun-09 ]
Fixed in 3-2.
[ALFCOM-2882] In commandServlet, the response content type is imposed to
text/html. With this following patch, we can choose an other mimeType for the
response. Created: 15-May-09 Updated: 18-Jun-09 Resolved: 18-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Web Framework
Affects Version/s: 3.0
Fix Version/s:     3.2
Security Level: external (External user)

Type:               Contribution            Priority:   Major
Reporter:           Nelly GARNIER           Assignee:   Steve Rigby
Resolution:         Fixed                   Votes:      0
Labels:             None
Remaining           Not Specified
Estimate:
Time Spent:         Not Specified
Original            Not Specified
Estimate:

Attachments:          patch.txt
Date of First       18/Jun/09 10:20 AM
Response:

Description
We can view the patch in attached file.

Comments
Comment by Kevin Roast [ 18-Jun-09 ]
Fixed for next 3.2 labs drop.
CHK-7815
[ALFCOM-2855] RSS feeds from Yahoo Pipes failing Created: 12-May-09               Updated: 20-Oct-09
Resolved: 20-Oct-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       None
Affects Version/s: 3.0
Fix Version/s:     3.2
Security Level: external (External user)

Type:                 Contribution                 Priority:          Minor
Reporter:             JJ Okocha                    Assignee:          Paul Holmes-Higgin
Resolution:           Fixed                        Votes:             0
Labels:               None
Remaining             2 hours
Estimate:
Time Spent:           Not Specified
Original              2 hours
Estimate:
Environment:          Labs 3.0 build Stable 1526

Date of First         14/May/09 11:34 AM
Response:

 Description
In Alfresco Share I configured the RSS Dashlet with the feed we made with Yahoo pipes, for
example
http://pipes.yahoo.com/pipes/pipe.run?_id=471940c264e797c9b0d5af2280ddd215&_render=rss.

This is caused e feed ends with a comment added by Yahoo:

....
</rss>
<!-- fe1.pipes.ch1.yahoo.com uncompressed/chunked Tue May 12 13:15:22 GMT 2009 -->

I have also constructed a solution. Strip everything after the rss-endtag before putting the feed in
the XML-parser. This change can be made to the file feed.utils.js in the folder:
tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/utils

I have added the code below. I have included the last line before and after the addition.

   rssXml = rssXml.substring(idx);

// Strip everything after the end-tag </rss>
    var re2 = /<\/[r|R][s|S]{2}/;
if (re2.test(rssXml))
{
var idx2 = rssXml.search(re2);
rssXml = rssXml.substring(0,idx2+6);
}

   var rss = new XML(rssXml);

I have tested the change on my one implementation and it works. As I don't know the impact and
the way to contribute I 'll drop the change here.

Comments
Comment by Steve Rigby [ 14-May-09 ]
BRB Reviewed
Comment by Erik Winlof [ 20-Oct-09 ]
Fixed since revision 16868
[ALFCOM-2854] Repository webscript performance regression Created: 12-May-09
Updated: 14-May-09 Resolved: 14-May-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository, Share
Affects Version/s: 3.2
Fix Version/s:     3.2
Security Level: external (External user)

Type:                   Bug                    Priority:          Critical
Reporter:               Mike Hatfield          Assignee:          Paul Holmes-Higgin
Resolution:             Fixed                  Votes:             0
Labels:                 None
Remaining               Not Specified
Estimate:
Time Spent:             Not Specified
Original                Not Specified
Estimate:

Date of First           14/May/09 11:32 AM
Response:

 Description
Noticed on recent HEAD builds the repository webscript queries are particularly slow. Very
noticeable on Share Document Library tree and doclist webscripts.

Comments
Comment by Steve Rigby [ 14-May-09 ]
BRB Reviewed - is this already resolved?
[ALFCOM-2846] "Choose from popular tags in this site" not available when
tagging documents in Share Created: 08-May-09 Updated: 29-Jun-09 Resolved: 29-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Share
Affects Version/s: 3D
Fix Version/s:     3.2
Security Level: external (External user)

Type:               Improvement                 Priority:          Major
Reporter:           Matti Roloux                Assignee:          Steve Rigby
Resolution:         Fixed                       Votes:             0
Labels:             None
Remaining           Not Specified
Estimate:
Time Spent:         Not Specified
Original            Not Specified
Estimate:

Issue Links:        Related
Date of First       29/Jun/09 12:32 AM
Response:

 Description
When tagging Wiki pages, blog posts, calendar events... a link "Choose from popular tags in this
site" appears. This is not the case in the document library (edit metadata).

It would be nice that tagging in the document library were implemented in the same way as other
content types.

 Comments
Comment by Mike Hatfield [ 29-Jun-09 ]
r14983
CHK-8001
[ALFCOM-2811] Old (deprecated) invite workflow definitions show in list of
available workflows in Start Advanved Workflow wizard Created: 27-Apr-09 Updated: 18-Oct-10
Resolved: 30-Apr-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       JSF Client
Affects Version/s: 3D
Fix Version/s:     3.2
Security Level: external (External user)

Type:                 Bug                        Priority:           Critical
Reporter:             Gavin Cornwell             Assignee:           Mark Rogers
Resolution:           Fixed                      Votes:              0
Labels:               None
Remaining             Not Specified
Estimate:
Time Spent:           Not Specified
Original              Not Specified
Estimate:

Issue Links:          Cloners
                      is cloned by ALF-5276 Old (deprecated) workflow definitions...       Closed
                      Related
Date of First         30/Apr/09 1:53 PM
Response:

 Description
The newest invite workflows are supressed from the list of available workflows in the wizard but
the older invite workflow definitions are not and therefore appear as startable workflows.

Comments
Comment by Mark Rogers [ 30-Apr-09 ]
Old wf:invite workflow hidden in UI.

Other intermediate Labs workflows remain, if visible they are an artifact of using HEAD and
will need to be fixed by using the workflow console.
Comment by Lucille Arkenstone [ 18-Oct-10 ]
I am experiencing this issue in Version :Community - v3.3.0
Could somebody please respond back to me?
See post: http://forums.alfresco.com/en/viewtopic.php?f=34&t=35209
Thanks
Comment by Gavin Cornwell [ 18-Oct-10 ]
This issue has been closed as fixed and therefore won't be looked at in the appropriate bug fixes.

If you are experiencing a similar issue (the workflow mentioned in the forum post is not an invite
workflow) could you please raise a new issue in JIRA against the Alfresco project.
Thanks.
[ALFCOM-2784] FSR taking over directory is too aggressive and deletes any
non-alfresco content that was stored in that folder. Created: 15-Apr-09 Updated: 15-Apr-09 Resolved:
15-Apr-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       WCM
Affects Version/s: 3D
Fix Version/s:     3.2
Security Level: external (External user)

Type:               Bug                           Priority:           Major
Reporter:           Scott Fitzgerald              Assignee:           Paul Holmes-Higgin
Resolution:         Fixed                         Votes:              0
Labels:             None
Remaining           Not Specified
Estimate:
Time Spent:         Not Specified
Original            Not Specified
Estimate:
Environment:        Alfresco ENT 3.1 and FSR 3.1.
                    Windows XP, Derby DB.

Issue Links:        Related
Date of First       15/Apr/09 5:38 PM
Response:

 Description
When using the FSR to publish content to an existing folder, the non-alfresco content in that
folder gets deleted.
Steps to recreate:
With Alfresco Explorer I created a webapp sub-folder I know already exists in my deployment
location and I added a single file.

I then submitted my changes and deployed to that FSR. With errorOnOverWrite set to true an
error is thrown and the deployment fails. I think this is expected.

   09:59:26,385 WARN [org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl]
writing to pre-existing directory, path:C:\Toolkit\Stores\WebContent\StoreOne\javascript
   09:59:26,385 ERROR
[org.alfresco.deployment.impl.server.DeploymentReceiverTransportImpl] error in mkdir
ticket:b4bd1304-228f-4c9e-a9b9-7ece18fa9f2e, path:/javascript, guid:7f16cbc7-6f8f-4372-9f98-
c81d19562074
   org.alfresco.deployment.impl.DeploymentException: directory already exists,
path:C:\Toolkit\Stores\WebContent\StoreOne\javascript

In this case the new file doesn't get pushed to the FSR.
When I run the FSR with errorOnOverWrite set to false the following happens:
Within Alfresco Explorer I created another webapp sub-folder I know already exists in my
deployment location and I added a single file.

When I then browsed the file system the folder was there but all it now contains is the single file
I added through the client, all my non-alfresco files and folders that were stored in the same
folder on the file system have now been deleted.

In the deployment.log file it does mention that it is writing to a pre-existing directory, but it still
goes ahead and deletes that folder's contents anyway....seems odd:

     09:30:28,167 WARN
[org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl] writing to pre-existing
directory, path:C:\Toolkit\Stores\WebContent\StoreOne\css



To re-cap I am using Alfresco 3.1 on windows XP, derby DB (for evaluating and testing), and a
3.1 FSR also on windows XP.

Is this the standard behavior for 3.1? or is this a bug?

What I need is for the FSR the be able to copy content into an existing folder, but not delete the
non-alfresco content in that folder. Is this possible?

This description is taken from a forum posting I made:
http://forums.alfresco.com/en/viewtopic.php?f=29&t=10073
Verified as a bug there by mrogers.


 Comments
Comment by Scott Fitzgerald [ 15-Apr-09 ]
This was logged against ENT 3.1 not labs, but I was unable to log this bug against 3.1 in JIRA
for some reason, can someone please move?
Comment by Mark Rogers [ 15-Apr-09 ]
Check in to HEAD.
Comment by Mark Rogers [ 15-Apr-09 ]
Fixed - may need to be patched into 3.1.
[ALFCOM-2651] Bug # 924 Resolved Created: 24-Mar-09            Updated: 30-Mar-09 Resolved: 30-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       None
Affects Version/s: 3.0
Fix Version/s:     3.2
Security Level: external (External user)

Type:               Contribution                   Priority:              Major
Reporter:           Laxmi Tidke                    Assignee:              Mark Rogers
Resolution:         Fixed                          Votes:                 0
Labels:             None
Remaining           Not Specified
Estimate:
Time Spent:         Not Specified
Original            Not Specified
Estimate:

Attachments:            JBPMEngine.java
Issue Links:        Related
                    is related to ETHREEOH-           User-unfriendly error message when                Closed
                    by            924                 lo...
Date of First       24/Mar/09 11:51 AM
Response:

Description
Bug fixed for alfresco3.0 - 12844

File Changed:
org.alfresco.repo.workflow.jbpm. JBPMEngine

Caught DataAccessException in startWorkflow() method to show proper error message.


 Comments
Comment by Laxmi Tidke [ 24-Mar-09 ]
https://issues.alfresco.com/jira/browse/ETHREEOH-924

Steps to reproduce:
1. Log in to Alfresco Explorer as admin.
2. Create a Web project.
3. Add items to users sandbox.
4. Click on Submit All icon on user sandbox.
5. Enter long instructions into Description text field.

Expected result: user-friendly error message should appears.
Actual Result: user-unfriendly error message appears. (please see log file and screen shot)
Comment by Mark Rogers [ 30-Mar-09 ]
Checked into HEAD.
[ALFCOM-2625] CMIS Web Service getRepository returns <Unknown> Created: 12-
Mar-09 Updated: 20-Mar-09 Resolved: 20-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: 3D
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                    Priority:   Major
Reporter:                David Caruana          Assignee:   David Caruana
Resolution:              Fixed                  Votes:      0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:

Issue Links:             Requires
[ALFCOM-2622] Use of "read -p" in apply_amps.sh fails on some Unix flavors
Created: 11-Mar-09 Updated: 16-Mar-09 Resolved: 16-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Installation
Affects Version/s: 3.0
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                                Priority:   Minor
Reporter:                Nic Bernstein                      Assignee:   Mark Rogers
Resolution:              Fixed                              Votes:      0
Labels:                  None
Remaining                15 minutes
Estimate:
Time Spent:              Not Specified
Original                 15 minutes
Estimate:
Environment:             Ubuntu Linux 8.04LTS server

Attachments:               apply_amps.diff
Issue Links:             Cloners
Date of First            16/Mar/09 11:51 AM
Response:

 Description
The apply_amps.sh script uses "read -p" to prompt the user to "press any key to continue". This
is fine with many shells, but the script includes an explicit "#!/bin/sh" which means that it will
run with standard "sh" shells, which on some Unixes (such as Ubuntu 8.04 server) means a
strictly literal sh syntax is supported.

The original use of "read -p" was to read from a pipe, so the invocation:
<code>
echo "Press control-c to stop this script . . ."
read -p "Press any other key to continue . . ."
</code>
 fails thusly:
<code>
# ./apply_amps.sh
This script will apply all the AMPs in ./amps to the alfresco.war file in
/opt/Alfresco/tomcat\webapps
Press control-c to stop this script . . .
Press any other key to continue . . .read: 11: arg count
</code>

Some other means should be used to prompt the user, such as:
<code>
echo "Press control-c to stop this script . . ."
echo -n "Press any other key to continue . . ."
read REPLY
</code>


 Comments
Comment by Nic Bernstein [ 11-Mar-09 ]
Diff file to patch this bug.
Comment by Mark Rogers [ 16-Mar-09 ]
"echo -n" is not part of the POSIX standard and will also cause problems on various shells.

e.g.
http://www.linux.com/feature/34658
http://hans.fugal.net/blog/2007/12/07/echo-n-bug
Comment by Mark Rogers [ 16-Mar-09 ]
Fix was not quite as per patch but thank you for the contribution.
[ALFCOM-2609] Syntax error with descendants.post.atomentry.201.ftl Created: 17-
Dec-08 Updated: 04-Mar-09 Resolved: 04-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                              Priority:          Major
Reporter:                Yong Qu                          Assignee:          David Caruana
Resolution:              Fixed                            Votes:             0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             Windows XP, Tomcat, Derby

Issue Links:             Dependency

Description
The descendants.post.atomentry.201.ftl doesn't pass the FTL compilation.

<tr><td><b>Message:</b></td><td>Failed to retrieve template
org/alfresco/repository/store/descendants.post.atomentry.201.ftl</td></tr>
         <tr><td></td><td>&nbsp;</td></tr>
  <tr><td><b>Exception:</b></td><td>freemarker.core.ParseException - Encountered "/]" at
line 9, column 46 in org/alfresco/repository/store/descendants.post.atomentry.201.ftl.
Was expecting one of:
   <STRING_LITERAL> ...

So instead of

--------------------------------------------------------------------------

[#ftl]
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
[#compress]

<?xml version="1.0" encoding="UTF-8"?>

[#if node.isDocument]
 [@entryLib.document node ns=[@nsLib.entryNS/]/]
[#else]
  [@entryLib.folder node ns=[@nsLib.entryNS/]/]
[/#if]

[/#compress]

----------------------------------------------------------------------------

we need to have

---------------------------------------------------------------------------

[#ftl]
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
[#compress]

<?xml version="1.0" encoding="UTF-8"?>

[#assign namespace][@nsLib.entryNS/][/#assign]

[#if node.isDocument]
  [@entryLib.document node=node ns=namespace/]
[#else]
  [@entryLib.folder node=node ns=namespace/]
[/#if]

[/#compress]

-----------------------------------------------------------------------------
[ALFCOM-2430] CMIS: REST/Atom: query()/ContentStreamUri Created: 16-Jan-09
Updated: 12-Mar-09 Resolved: 12-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                           Priority:    Major
Reporter:                Andrew Peebles                Assignee:    David Caruana
Resolution:              Fixed                         Votes:       0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             3.0 Enterprise, Linux, Perl

Issue Links:             Dependency
Date of First            04/Mar/09 4:23 PM
Response:

 Description
In query results, ContentStreamUri is NULL. It seems to take another fetch using 'self'
link to get the complete information. This fetch of self's entry document contains
ContentStreamURI, not "ContentStreamUri" as expected.



Comments
Comment by David Caruana [ 04-Mar-09 ]
Resolve this during sub-type / custom prop support.
Comment by David Caruana [ 12-Mar-09 ]
All properties are now rendered in a generic fashion, including ContentStreamUri.
[ALFCOM-2428] CMIS: REST/Atom: SQL query on Folders Created: 16-Jan-09                 Updated: 05-
Mar-09 Resolved: 05-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                           Priority:   Major
Reporter:                Andrew Peebles                Assignee:   David Caruana
Resolution:              Fixed                         Votes:      0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             3.0 Enterprise, Linux, Perl

Issue Links:             Dependency
Date of First            05/Mar/09 12:11 PM
Response:

Description
SELECT * FROM Folder WHERE Name = 'Company Home' (any folder query)

  org.alfresco.service.cmr.repository.TemplateException - Error during processing of the
template 'Expression node.mimetype is undefined on line 212, column 18 in
org/alfresco/cmis/atomentry.lib.atom.ftl.'. Please contact your system administrator.


Comments
Comment by David Caruana [ 05-Mar-09 ]
CHK-6654
[ALFCOM-2425] CMIS: REST/Atom: setContentStream() Created: 16-Jan-09                  Updated: 09-Apr-
09 Resolved: 09-Apr-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                           Priority:     Major
Reporter:                Andrew Peebles                Assignee:     David Caruana
Resolution:              Fixed                         Votes:        0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             3.0 Enterprise, Linux, Perl

Issue Links:             Dependency
Date of First            04/Mar/09 5:33 PM
Response:

 Description
I attempted to use the setContentStream() binding after having done a createDocument() with no
content tag. The setContentStream() is spec'd as a PUT to either the cmis-stream link or the edit-
media link. Both yield the exception:

Exception: org.alfresco.service.cmr.repository.TemplateException - Error during processing of
the template 'Expression node is undefined on line 9, column 6 in
org/alfresco/repository/store/item.put.atomentry.ftl.'. Please contact your system administrator.

The item.put.desc.xml says "This service updates properties of the specified object. As per the
data model, content-streams are not properties".

Mm. Then how does setContentStream() work?



 Comments
Comment by David Caruana [ 04-Mar-09 ]
item.put is for updating meta-data.

The cmis-stream (and equivalent) links refer to URI that is different to the metadata URI. So, put
on the content-stream URI should result in an update of the content. However, this particular
service is not implemented yet. To be added soon.
Comment by David Caruana [ 09-Apr-09 ]
setContentStream() now implemented.
[ALFCOM-2290] Here, we suggest a patch to resolve bugs on
LuceneQueryParser : ALFCOM-2288 and ALFCOM-2289 Created: 09-Jan-09                      Updated: 17-Mar-
09 Resolved: 17-Mar-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       None
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Contribution             Priority:           Major
Reporter:                Nelly GARNIER            Assignee:           Steve Rigby
Resolution:              Fixed                    Votes:              0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:

Attachments:               lucene.patch
Issue Links:             Related
Date of First            09/Jan/09 9:33 AM
Response:

 Comments
Comment by Paul Holmes-Higgin [ 09-Jan-09 ]
Andy - can you review, please.
Comment by Andrew Hind [ 17-Mar-09 ]
This is done - the patch was not applied as provided, but the same idea .. as part of the 2.4.1
upgrade
[ALFCOM-2096] Share 3.0.0 (labs and EE) scripts fail when username has the
dot charicter Created: 24-Nov-08 Updated: 21-Apr-09 Resolved: 01-Apr-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       None
Affects Version/s: 3.0, 3C
Fix Version/s:     3.2
Security Level: external (External user)

Type:                Bug                           Priority:               Major
Reporter:            Adam                          Assignee:               Paul Holmes-Higgin
Resolution:          Fixed                         Votes:                  1
Labels:              None
Remaining            Not Specified
Estimate:
Time Spent:          Not Specified
Original             Not Specified
Estimate:

Issue Links:         Duplicate
                     duplicates ETHREEOH-926 Wrong server-side webscript matched w... Closed
Date of First        12/Jan/09 12:21 PM
Response:

 Description
All user names that include the "." (dot) character cause multiple Share scripts to explode. I have
seen this issue on all versions of Alfresco 3 (labs and EE) and all authentication sources
(alfresco, enterprise, ldap, ntlm)

While i know there are more, The script i have seen misfire in all versions is "my-sites.get.js"

I believe the issue is on line 10.

var result = remote.call("/api/people/" + user.name + "/sites");

My guess is when this executes for the user "firstname.lastname" it is unable to escape the dot.

Similar calls in other scripts exhibit the same issue. they simply fail.

 Comments
Comment by Steve Rigby [ 12-Jan-09 ]
For review in Labs 3D to identify if issues are still present
Comment by mkononovich [ 12-Jan-09 ]
Found in Alfresco 3.0 Labs build 1487 using Windows 2003 R2 SP2, Tomcat 6.0.18, Mysql
5.0.67, JDK 6u7.
For example, viewing Site's members tab leads to the error 500.
Comment by Sylvain Chambon [ 17-Feb-09 ]
Seen this as well. A lot of scripts fail when the url ends with username. For instance to get a
user's membership on a site, the url pattern is:

/api/sites/{shortname}/memberships/{username}

this ends up like: /api/sites/whateversite/memberships/john.doe

and the web script framework's content negotiation fails to find the "doe" format!

(that's what causes hell with the site's members tab actually, or all dashlets that need to find
whether the user's a site manager)

For that particular webscript, specifying <format default="json">argument</format> will do the
trick. Other scripts will have to be examined.

Note: it would be helpful to be able to turn off format negotiation in the script's desc.xml.
Negotiation is pointless for scripts which can only return one format (as I guess most scripts
would), and may have adverse side effects as seen here.
Comment by Fabrizio Corsaro [ 25-Feb-09 ]
Hi guys,

I have got an error message on 3.0 SP1 Enterprise while trying to create a site with a username
'firstname.lastname' and this is documented already in the forum -->
http://forums.alfresco.com/en/viewtopic.php?f=47&t=16651

Web Script Status 500 - Internal Error

The Web Script /share/service/components/site-members has responded with a status of 500 -
Internal Error.

500 Description: An error inside the HTTP server which prevented it from fulfilling the request.

Message: Failed to load script '/org/alfresco/components/site-members/site-members.get.js (in
classpath store file:C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-
webscripts)': TypeError: Cannot parse XML: Scanner State 24 not Recognized
(file:C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-
webscripts/org/alfresco/components/site-members/site-members.get.js#6(eval)#1)

Exception: org.mozilla.javascript.EcmaError - TypeError: Cannot parse XML: Scanner State 24
not Recognized (file:C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-
webscripts/org/alfresco/components/site-members/site-members.get.js#6(eval)#1)

This happens with every username including dots while works fine without.
Hope this helps,

Cheers, Fab
Comment by Kevin Roast [ 01-Apr-09 ]
Fixed in latest HEAD
Comment by Kendal Montgomery [ 21-Apr-09 ]
Any idea if this also works now if you have an @ sign in the username (might happen if the user
uses their email address as their username). I don't know if my problem has to do with the dot or
the @, but I'm having this problem as well with Alfresco Labs 3.1 on Linux.

Thanks.
Comment by Paul Holmes-Higgin [ 21-Apr-09 ]
Try it on the 3.2 preview from last week.
Comment by Adam [ 21-Apr-09 ]
The dot character is presents no issue in 3.0 final once several scripts (posted in another ticket)
have a single line added to them
[ALFCOM-2050] alfresco-3b: hibernate-3.2.6-patched.jar and postgres broken
Created: 06-Nov-08 Updated: 30-Mar-10 Resolved: 30-Mar-10
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: 3.0
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                                Priority:   Blocker
Reporter:                Stefan Schilling                   Assignee:   Steve Rigby
Resolution:              Fixed                              Votes:      0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             Ubuntu Hardy
                         kernel: 2.6.24-19-server
                         postgresql-8.3_8.3.3-0ubuntu0.8.04_i386.deb
                         postgresql-client-8.3_8.3.3-0ubuntu0.8.04_i386.deb
                         postgresql-client-common_87_all.deb
                         postgresql-common_87_all.deb

Date of First            19/Nov/08 11:17 PM
Response:

Description
Hello!

I'm trying to use Rev. 3213 (of Nov. 06, 2008) with postgres on an ubuntu system.
I'm using
- webapps/alfresco/ WEB-INF/lib/hibernate-3.2.6-patched.jar
- shared/shared/lib/postgresql-8.3-603.jdbc3.jar
- alfresco@alfresco:~$ psql --version
psql (PostgreSQL) 8.3.3
contains support for command-line editing
alfresco@alfresco:~$
- alfresco-3b-Rev.3213

with a DB created using the following statement:

CREATE DATABASE alfresco
 WITH OWNER = alfresco
   ENCODING = 'UTF8';
Here are the DB-specific configuration settings:

alfresco@alfresco:/opt/alfresco-3213/tomcat$ tail shared/classes/alfresco/extension/custom-
hibernate-dialect.properties
[...]
#
# PostgreSQL dialect
#
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.query.substitutions=true TRUE, false FALSE
alfresco@alfresco:/opt/alfresco-3213/tomcat$ tail shared/classes/alfresco/extension/custom-
repository.properties
[...]
#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco

[...]
alfresco@alfresco:/opt/alfresco-3213/tomcat$

Upon starting, I get the following org.hibernate.HibernateException: SqlNode's text did not
reference expected number of columns

11:40:05,642 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'luceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-
context.xml]: Cannot resolve reference to bean 'indexerAndSearcherFactory' while setting bean
property 'indexerAndSearcherFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]:
Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean
property 'defaultBinding'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-
context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean
property 'nodeService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]:
Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property
'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object
creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-
context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property
'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-
services-context.xml]: Cannot resolve reference to bean 'transactionService' while setting bean
property 'transactionService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot
resolve reference to bean 'transactionManager' while setting bean property 'transactionManager';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-
context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property
'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-
context.xml]: Invocation of init method failed; nested exception is
org.hibernate.HibernateException: SqlNode's text did not reference expected number of columns
[...the message being repeated...]
Caused by: org.hibernate.HibernateException: SqlNode's text did not reference expected number
of columns
      at
org.hibernate.hql.ast.tree.BinaryLogicOperatorNode.extractMutationTexts(BinaryLogicOperator
Node.java:156)
      at
org.hibernate.hql.ast.tree.BinaryLogicOperatorNode.mutateRowValueConstructorSyntax(Binary
LogicOperatorNode.java:94)
      at
org.hibernate.hql.ast.tree.BinaryLogicOperatorNode.mutateRowValueConstructorSyntaxesIfNec
essary(BinaryLogicOperatorNode.java:71)
      at
org.hibernate.hql.ast.tree.BinaryLogicOperatorNode.initialize(BinaryLogicOperatorNode.java:5
1)
      at org.hibernate.hql.ast.HqlSqlWalker.prepareLogicOperator(HqlSqlWalker.java:1007)
      at
org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3992)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1762)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1690)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1687)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:776)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:577)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
      at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
      at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
      at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
      at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
      at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
      at
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
     at
org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:402)
     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:352)
     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
     at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessio
nFactoryBean.java:805)
     at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessi
onFactoryBean.java:745)
     at
org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSe
ssionFactoryBean.java:134)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe
thods(AbstractAutowireCapableBeanFactory.java:1201)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1171)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:425)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.aop.framework.ProxyFactoryBean.freshTargetSource(ProxyFactoryBean.ja
va:541)
     at
org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstance(ProxyFactoryBea
n.java:290)
     at
org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:227)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFromFactoryBean(A
bstractBeanFactory.java:1236)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(Abs
tractBeanFactory.java:1207)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:262)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Bea
nDefinitionValueResolver.java:261)
     at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecess
ary(BeanDefinitionValueResolver.java:109)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropert
yValues(AbstractAutowireCapableBeanFactory.java:1099)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:861)
     at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A
bstractAutowireCapableBeanFactory.java:421)
     at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFact
ory.java:251)
     at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Default
SingletonBeanRegistry.java:156)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:248)
     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.j
ava:160)
     at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplication
Context.java:733)
     at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProces
sors(AbstractApplicationContext.java:472)
     at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationC
ontext.java:334)
     at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.
java:244)
     at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.jav
a:187)
     at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListe
ner.java:49)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     at org.apache.catalina.core.StandardService.start(StandardService.java:448)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
11:40:05,743 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized
event to listener instance of class org.springframework.web.context.ContextLoaderListener


I tried to follow the hint given by sol@zyres.com
(http://forums.alfresco.com/en/viewtopic.php?f=10&t=14701) and exchanged webapps/alfresco/
WEB-INF/lib/hibernate-3.2.6-patched.jar by webapps/alfresco/ WEB-INF/lib/hibernate-3.2.1-
patched.jar. But that led to the following exception:
10:13:49,057 ERROR [domain.schema.SchemaBootstrap] Schema Auto-Aktualisierung
fehlgeschlagen.
java.lang.NoClassDefFoundError: org/hibernate/dialect/Oracle9iDialect
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.changeDialect(SchemaBootstrap.java:977)
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1096)
     at
org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicatio
nEventMulticaster.java:77)
     at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleA
pplicationEventMulticaster.java:75)
     at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplica
tionContext.java:246)
     at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationC
ontext.java:355)
     at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.
java:244)
     at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.jav
a:187)
     at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListe
ner.java:49)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     at org.apache.catalina.core.StandardService.start(StandardService.java:448)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
10:13:49,085 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Schema Auto-Aktualisierung fehlgeschlagen.
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1190)
     at
org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicatio
nEventMulticaster.java:77)
     at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleA
pplicationEventMulticaster.java:75)
     at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplica
tionContext.java:246)
     at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationC
ontext.java:355)
     at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.
java:244)
     at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.jav
a:187)
     at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListe
ner.java:49)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     at org.apache.catalina.core.StandardService.start(StandardService.java:448)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NoClassDefFoundError: org/hibernate/dialect/Oracle9iDialect
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.changeDialect(SchemaBootstrap.java:977)
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1096)
     ... 33 more
10:13:49,090 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized
event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Schema Auto-Aktualisierung fehlgeschlagen.
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1190)
     at
org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicatio
nEventMulticaster.java:77)
     at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleA
pplicationEventMulticaster.java:75)
     at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplica
tionContext.java:246)
     at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationC
ontext.java:355)
     at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.
java:244)
     at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.jav
a:187)
     at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListe
ner.java:49)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     at org.apache.catalina.core.StandardService.start(StandardService.java:448)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NoClassDefFoundError: org/hibernate/dialect/Oracle9iDialect
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.changeDialect(SchemaBootstrap.java:977)
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1096)
     ... 33 more
10:13:49,096 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized
event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.error.AlfrescoRuntimeException: Schema Auto-Aktualisierung fehlgeschlagen.
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1190)
     at
org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicatio
nEventMulticaster.java:77)
     at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
     at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleA
pplicationEventMulticaster.java:75)
     at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplica
tionContext.java:246)
     at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationC
ontext.java:355)
     at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.
java:244)
     at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.jav
a:187)
     at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListe
ner.java:49)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     at org.apache.catalina.core.StandardService.start(StandardService.java:448)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NoClassDefFoundError: org/hibernate/dialect/Oracle9iDialect
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.changeDialect(SchemaBootstrap.java:977)
     at
org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1096)
     ... 33 more
06.11.2008 10:13:49 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart

Class org.hibernate.dialect.Oracle9iDialect is available in hibernate-3.2.6-patched.jar, but not in
hibernate-3.2.1-patched.jar.

Can anybody help? Right now, it is *NOT* possible to use alfresco in combination w/ postgres.

Thank you.

Stefan Schilling

 Comments
Comment by Daniel E. Markle [ 19-Nov-08 ]
I had the same issue until I removed:

hibernate.query.substitutions=true TRUE, false FALSE

from my repository.properties, it seems that directive no longer works and is no longer needed,
and removing it fixed the issue for me.
Comment by Stefan Schilling [ 20-Nov-08 ]
Hello!

You're right. Removing

hibernate.query.substitutions=true TRUE, false FALSE

from ~alfresco~/tomcat/shared/classes/alfresco/extension/custom-hibernate-dialect.properties -
section "postgres" solves this problem.

Please remove this option from svn-available custom-hibernate-dialect.properties.

Thank you very much.

Bye,
Stefan Schilling
Comment by mkononovich [ 15-Jun-09 ]
We are using query.substitutions cause it's in the properties sample file. We are testing
PostgreSQL only in the Enterprise.
We have tested Alfresco 3.1 build 162 with hibernate 3.2.6 patched with PostgreSQL 8.3.5 on
the Windows 2008 SP1 x64 with the postgresql-8.3-603.jdbc3.jar JDBC driver. No errors found.
Comment by Jan Vonka [ 30-Mar-10 ]
Note: we no longer include "custom-hibernate-dialect.properties" (and
"#hibernate.query.substitutions=" in "hibernate-cfg.properties")
[ALFCOM-1879] Add isInstanceOfType to TemplateNode Created: 13-Aug-08 Updated: 17-Jun-
09 Resolved: 17-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       None
Affects Version/s: 3.0
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Improvement               Priority:           Major
Reporter:                Jean Barmash              Assignee:           Steve Rigby
Resolution:              Fixed                     Votes:              0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             any

Date of First            17/Jun/09 3:56 PM
Response:

 Description
Currently, there is no way to check if a node is a subclass of a type, basically instanceof. there is
the type, but it only allows you to check for equality to a certain type, not its subtypes.

we have hasAspect API, but not isInstanceOf API. I ran into a task where it would have been
useful for a customer.

 Comments
Comment by Kevin Roast [ 17-Jun-09 ]
In 3.2 we have added node.isSubType() to the JavaScript API (we will not be adding it to
FreeMarker - as the logic should now be performed in JavaScript as per the WebScript model)
[ALFCOM-1617] Add default/sample config using multiple ldaps for sync Created: 05-
Feb-08 Updated: 14-Aug-09 Resolved: 14-Aug-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Improvement            Priority:          Minor
Reporter:                John Jaquette          Assignee:          David Ward
Resolution:              Fixed                  Votes:             0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:

Date of First            11/Jun/09 11:47 AM
Response:

 Description
Currently, this involves quite a bit of configuration, most of which is undocumented. This seems
to be a growing setup which should be a bit simpler to setup.

 Comments
Comment by Andrew Hind [ 11-Jun-09 ]
Part of your updated docs :-)
Comment by David Ward [ 14-Aug-09 ]
This is vastly simplified in v3.2. See
http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_2:_Advanced_LD
AP_Chain (of course it's even easier through JMX!)
[ALFCOM-1424] Content Store Routing Bean Created: 31-Aug-07 Updated: 20-May-10 Resolved: 20-
May-10
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:              New Feature                  Priority:           Major
Reporter:          Mike Farman                  Assignee:           Paul Holmes-Higgin
Resolution:        Fixed                        Votes:              0
Labels:            None
Remaining          Not Specified
Estimate:
Time Spent:        Not Specified
Original           Not Specified
Estimate:

Date of First      20/May/10 1:56 PM
Response:

 Description
Provide a bean that can be configured to storage content based on an aspect being present on a
node.
The aspect could be called cm:contentStore that had a property cm:contentStore on it that
identifies the target store.

The aspect and property could be set via script. An out-of-the-box action could be provided that
has a drop-down list of available stores.

 Comments
Comment by Derek Hulley [ 20-May-10 ]
http://wiki.alfresco.com/wiki/Content_Store_Selector
[ALFCOM-1071] Add People object support to FreeMarker API - allow get of
Person node from username to retrieve user properties Created: 22-May-07 Updated: 12-May-09
Resolved: 12-May-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                 Bug                     Priority:          Major
Reporter:             Kevin Roast             Assignee:          Paul Holmes-Higgin
Resolution:           Fixed                   Votes:             1
Labels:               None
Remaining             Not Specified
Estimate:
Time Spent:           Not Specified
Original              Not Specified
Estimate:
Environment:          all


 Description
Add People object support to FreeMarker API - allow get of Person node from username to
retrieve user properties.

Comments
Comment by Kevin Roast [ 12-May-09 ]
Minimum support added
[ALFCOM-1008] Add abstract authentication component bean to simplfy
authentication component configuration and make it more likely to upgrade in
place Created: 11-Mar-08 Updated: 04-Dec-12 Resolved: 26-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       Repository
Affects Version/s: 2.9
Fix Version/s:     3.2
Security Level: external (External user)

Type:              Improvement                Priority:          Major
Reporter:          Andrew Hind                Assignee:          QA Backlog Unassigned
Resolution:        Fixed                      Votes:             0
Labels:            None
Remaining          Not Specified
Estimate:
Time Spent:        Not Specified
Original           Not Specified
Estimate:


 Description
Add abstract authentication component bean to simplfy authentication component configuration
and make it more likely to upgrade in place

Comments
Comment by Andrew Hind [ 26-Jun-09 ]
This has been done
[ALFCOM-784] Categories can be added several times Created: 22-Feb-08 Updated: 06-Sep-12
Resolved: 06-Sep-12
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       JSF Client
Affects Version/s: None
Fix Version/s:     3.2
Security Level: external (External user)

Type:                 Bug                         Priority:           Minor
Reporter:             Kaspar Fischer              Assignee:           Steve Rigby
Resolution:           Won't Fix                   Votes:              0
Labels:               None
Remaining             Not Specified
Estimate:
Time Spent:           Not Specified
Original              Not Specified
Estimate:
Environment:          r1581

Issue Links:          Related
                      relates to ETHREEOH-1271 It is possible to add one category mo... Closed
Date of First         22/Feb/08 2:35 PM
Response:

 Description
You can tag a node with any tag more than once. For instance, if a node is already tagged
'Bahamas', you can tag it 'Bahamas' again and it will have this tag twice. I don't see a scenario
where this is useful; I feel it confuses end-users.

Comments
Comment by Paul Holmes-Higgin [ 22-Feb-08 ]
Mike - not sure if this should be pushed down to the category service - feels like it should be.
Comment by Mike Hatfield [ 22-Feb-08 ]
Out of interest, was this seen via the Office UI, or the Web Client tag picker?
Comment by Kaspar Fischer [ 22-Feb-08 ]
Ah, sorry for not mentioning this: I've seen it via the Web Client tag picker, on both the
Advanced Search page and on the Details page of a node.
Comment by Mike Hatfield [ 22-Feb-08 ]
Ok thanks - I can see where this is happening: when you choose categories, click Ok then Add to
List, then go back to the picker and choose the same ones.

This seems to be more of a UI issue - the list of already-selected categories (outside the Ajax
picker) should be checked before adding new ones just picked.
Comment by Kaspar Fischer [ 22-Feb-08 ]
Yes, exactly! I know it's a minor point (that's why I marked it minor) but it confused some of our
editors. But maybe there's a particular reason to allow multiple tags? If not, I'd suggest to
disallow it.
Comment by Kaspar Fischer [ 29-Feb-08 ]
To clarify: Part of the issue is UI specific. However, a node can have twice the same tag - at the
repository/DB level. The category service should probably remove duplicates.
Comment by mkononovich [ 13-May-09 ]
The same behavior is on Alfresco Labs 3.2. build 1837, Microsoft(R) Windows(R) Server 2003,
Service Pack 2, Apache Tomcat Version 6.0.18, MySql 5.0.67
Comment by mkononovich [ 16-Jun-09 ]
I duplicated by ETHREEOH-1271
Comment by mkononovich [ 19-Jun-09 ]
The same behavior is on Alfresco 3.2 Labs build 1976 Stack 1, 2x nodes cluster using RHEL 5.2,
Tomcat 6.0.18, MySQL 5.1.31, JDK 6u14, JGroups TCP, Windows XP, FF3
[ALFCOM-202] Deployment receiver: move commonly used settings out into
properties file Created: 24-Jul-07 Updated: 04-Jun-09 Resolved: 04-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       WCM
Affects Version/s: 2.1
Fix Version/s:     3.2
Security Level: external (External user)

Type:               Bug                           Priority:           Trivial
Reporter:           Peter Monks                   Assignee:           Michael Uzquiano
Resolution:         Fixed                         Votes:              0
Labels:             None
Remaining           Not Specified
Estimate:
Time Spent:         Not Specified
Original            Not Specified
Estimate:
Environment:        n/a

Date of First       24/Jul/07 10:10 PM
Response:

 Description
It would be great to move some of the common settings specified in the deployment receiver's
application-context.xml file out into the properties file. The following things, for example, are
going to need to be configured just about every time a deployment receiver is installed, so it
would be good to be able to set their values via the properties file rather than having to crack
open the Spring file:
* default root directory for deployment
* default username
* default password

This will ensure that all of the required steps for configuring a deployment receiver can be done
solely in the properties file, while still allowing optional configuration (plugins, non-default
targets etc.) to be performed (via the app context).


 Comments
Comment by Britt Park [ 24-Jul-07 ]
Kind of agree with this, as things stand. However this won't scale well to multiple targets,
exclusion inclusion, paths, multiple pre and post triggers, and other bits that deployment will
need. Spring probably won't cut it either and we'll need a configuration file for deployment.
Comment by Peter Monks [ 24-Jul-07 ]
Yep that's why I proposed only moving the options that an administrator is *required* to change
when installing a deployment receiver out to the properties file. I have no problem with leaving
the more esoteric options in the Spring app context (although a separate config file would
perhaps be even better, but that's a also more work).
Comment by Mark Rogers [ 04-Jun-09 ]
Fixed in 3.2
[ALFCOM-192] Make filesystem deployment process more generic Created: 05-Jul-07
Updated: 05-Jun-09 Resolved: 05-Jun-09
Status:            Resolved
Project:           [Archived] Alfresco Community
Component/s:       WCM
Affects Version/s: 2.1
Fix Version/s:     3.2
Security Level: external (External user)

Type:                    Bug                      Priority:           Minor
Reporter:                Peter Monks              Assignee:           Mark Rogers
Resolution:              Fixed                    Votes:              0
Labels:                  None
Remaining                Not Specified
Estimate:
Time Spent:              Not Specified
Original                 Not Specified
Estimate:
Environment:             n/a

Issue Links:             Related
Date of First            05/Jun/09 10:13 AM
Response:

 Description
The filesystem deployment process should be made more generic - specifically the logic that gets
executed after the content is received needs to be pluggable. The default implementation of this
pluggable interface would be exactly what we do today (write the content to a filesystem) but by
allowing developers to implement their own logic we immediately open up the possibility of
deploying directly to other types of runtime repository (eg. CDNs, search engines, RDBMS,
XML databases, custom home grown repository etc. etc.).

Note that for this to be useful, the default behaviour (write the content to the filesystem) must be
optional - it must be possible for a 3rd party developer to stream the incoming content directly to
the target repository, without the content being written to intermediate storage (since that would
blow out storage requirements on the runtime side).

The contract between the core deployment receiver logic and this custom "repository write" logic
would need to be carefully defined, particularly in terms of transactional semantics (ie. how do
we ensure that the custom logic correctly participates in distributed deployment txns, once we
have them) as well as error reporting (how can the custom logic communicate some custom error
message to the deployment console in the authoring Alfresco instance).

Note that while superficially similar to WCM-553, the functionality described here is actually
quite different - WCM-533 is about hooking in custom code after the default deployment
behaviour has executed while this ticket is about replacing that default deployment behaviour
entirely.

Comments
Comment by Peter Monks [ 05-Jul-07 ]
That should be WCM-553 in both places. WCM-533 is something else. ;-)
Comment by Peter Monks [ 19-Dec-08 ]
Loosely related to ALFCOM-169.
Comment by Mark Rogers [ 05-Jun-09 ]
Resolved.
Generated at Sat Feb 02 11:52:18 GMT 2013 using JIRA 5.0.4#731-
sha1:3aa7374293d111f571925889c44fdf45364dfd21.

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:4
posted:2/3/2013
language:Latin
pages:69