In Alfresco 6.1 enterprise and 6.2 community edition, trailing dot in folder name gives error.
Step to replicate: Try to create any folder with a trailing dot (.). Manually or using REST call. I raised it on Alfresco hub too.
Has anyone encountered this issue? Or anyone knows about any open defect on the same?
Are you talking about the "cm:name" property?
If so, this is per specification.
https://docs.alfresco.com/4.0/tasks/library-create-folder.html
Related
I need to export everything (sites, dashboard, users, groups ecc...) is under my Alfresco ed import all to another Alfresco installation.
I discovered this usefull tool https://github.com/atolcd/alfresco-share-import-export but seems to me that it is good to create an .acp of a site for example but it's not enought for others stuff expecially users.
Please, what's an easy way to export everything from Alfresco ? And then how to import ? Thank you.
I used this Pynthon scripts github.com/wabson/share-import-export but no way an error on the python script execution : C:\Users\xxx\Desktop\Nuova cartella>python export-users.py file.json --username=xxx --password=xxx --url=localhost:8080/share/page/site/xxx/dashboard File "export-users.py", line 5 ^ SyntaxError: invalid syntax
I have Alfresco 5.1 and Pynthon 2.7.12
screenshot
Your url param is incorrect. Use the below one.
python export-users.py file.json --username=admin --password=admin --url=http://localhost:8080/share
This should work for you.
The Share URL should be, http://<IP or systemname>:<portnumber/share, but you've mentioned the one site dashboard url. Please change that.
You can also use alfresco OOTB replication service and replicate all the data from one alfresco instance to second one.
I am following the initial Magnolia tutorial, Tutorial
While I am trying step 4 , I am getting Error
java.io.FileNotFoundException: Template"\\myTemplate\\pages\\myPage.ftl" not found.
Since I am on windows 7 I have specified teplateScript path as \myTemplate\pages\myPage.ftl (with forward slash)
What am I doing wrong here ?
The exception suggest you used backward slash instead of forward. Try to write it with forward slash like /myTemplate/pages/myPage.ftl. Make sure file really exists in your module under this path starting from /src/main/resources. It is case sensitive so make sure cases match the real path too. If that doesn't help try to specify better what step you are failing there's step 4 in pretty much each part. Full stacktrace for exception would also help.
HTH,
Jan
I have installed visual studio 2013 and I'm trying to configure asp.net web to allow or deny permissions to certain set of pages in website that I have created through visual studio, but I can't see any option to configure as in previous versions of Visual studios. I have researched and tried some steps provided in this LINK in stackoverflow without any luck.
I can revert back to Visual studio 2010/2012, but why is it that I have to revert back ? There could be a reason why Microsoft has removed this option to configure or for any other commercial reasons ?
Anyway, my main priority here is how to get a fix for the issue I am facing or is there any alternative ways to achieve it? I heard that configuring membership now involves cloud 2.0 Membership - source -> COMMENT FROM OTHER USER IN STACKOVERFLOW
I have registered IISEXPRESS with this command:
"C:\Program Files\IIS Express\iisexpress.exe"
/path:c:\windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles
/vpath:"/asp.netwebadminfiles" /port:8089 /clr:4.0 /ntlm
and when I try to open the url: http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[C:\Users\kiriti\Documents\Visual Studio 2013\Projects\WebSite1]\&applicationUrl=/
I get an error saying:
The following message may help in diagnosing the problem: System.ArgumentException: The parameter 'PhysicalDirectory' is invalid. Parameter name: PhysicalDirectory at System.Web.Configuration.VirtualDirectoryMapping..ctor(VirtualPath virtualDirectory, String physicalDirectory, Boolean isAppRoot, String configFileBaseName) at System.Web.Configuration.VirtualDirectoryMapping..ctor(String physicalDirectory, Boolean isAppRoot) at System.Web.Administration.WebAdminPage.OpenWebConfiguration(String path, String appPhysPath, Boolean getWebConfigForSubDir) at System.Web.Administration.WebAdminPage.VerifyAppValid()
Please help!
remove '[' and ']' from your application physical path
Try to Copy your project to somewhere else like C:\MyProject\
According to this Link it could be either the directory of the project too deep or it had illegal Character(s)
I had this problem before and this solution solved it.
I have encountered the same error and I found the solution to the problem.
Make sure that your application path uses the backslash and not the forward slash.
e.g. http://localhost:8080/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=c:\MyProject\MySite&applicationUrl=/
The reason this usually happens is because, the name of the folder under projects is Website1 and the same time if you check the directory, there should be a file named Website1.sln (*sln extension). Basically .sln file is clashing with your project folder name. Solution: Change the name of .sln file to something else.
Secondly, remove [] brackets. You don't need them.
I hope this helps.
Thanks.
I have an XBAP currently published on my local machine, which has an 'About' canvas build into the XMAL, of which I want to show the published version number, but I can only seem to get the assembly version number. Any suggestions?
First make sure you add the following assembly to your project references: System.Deployment. Then you can access the current version like this:
using System.Deployment.Application;
...
if (ApplicationDeployment.IsNetworkDeployed)
VersionTextBlock.Text =
ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();
CurrentDeployment is null when you debug locally, so you can use IsNetworkDeployed to only retrieve the version info when you run from the published location.
With .NET 3.0 I'm using
Version ver = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
I've seen somewhere saying to use:
System.Deployment.ApplicationDeployment.CurrentVersion
But when using System.Deployment there appears to be no System.Deployment.ApplicationDeployment available to be accessed!
This may not be a solution but may point in the right sort of direction. If someone uses this already maybe they can shed some more light on the matter.
We are using SourceForge Enterprise Edition 4.4 in one of our project.
My question is, in CollabNet SFEE (SourceForge Enterprise Edition 4.4), how will we get attachments associated with an Artifacts Using SFEE SOAP API?
We have made our own .net 2.0 client. We are not using .net SDK provided by Collabnet,
If you commit with a message you can add "[artf1000]" (where artf1000 is your artifact number) to the beginning or end of your commit message. Then it will associate to that artifact you can also do this with documents using doc1000, to get the id of the item you can use the URL it is what is after the http://sfeeserver/sf/go/.
Documents and artifacts are the only item I have used this for so I am not sure about other types of links, but I would imagine anything that has a /go/ID could be referenced by the ID.
ie:
http://sfeeserver/sf/go/artf1000
http://sfeeserver/sf/go/doc1000
Edited to add:
I have seemingly successfully tried this with releases, tasks, and discussions as well.
You can cheat a little bit and have a look at the scripts from SFEE. Log into your SFEE via SSH and take a look at the following script:
/usr/local/sourceforge/sourceforge_home/integration/post-commit.py
Maybe it helps...