macressler / alfresco-bulk-filesystem-import

Automatically exported from code.google.com/p/alfresco-bulk-filesystem-import
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Can't figure out how to add tags as metadata #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. metadata only import to previously loaded content
2. properties file looks like this:
type=cm:content
aspects=cm:dublincore, cm:taggable
cm\:title=XXX
cm\:description=Work
cm\:identifier=505299
cm\:taggable=tag1

What is the expected output? What do you see instead?
attempt to load a tag causes error

What version of the product are you using? On what operating system?
v0.10, Alfresco 3.3.4, Red Hat

Please provide any additional information below.
See attached  status pages: status2.html is if I remove cm:taggable from 
aspects line

Original issue reported on code.google.com by sstone%s...@gtempaccount.com on 8 Dec 2010 at 7:54

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
You will need to specify the tag's noderef, not the tag name.
Also, you can apply multiple tags as a semicolon-separated list if you apply 
this patch
http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=20
Hope this helps.
- Stefan

Original comment by Stefan.T...@gmail.com on 10 Dec 2010 at 3:22

GoogleCodeExporter commented 9 years ago
Susan, can you confirm that Stefan's recommendation works?

Original comment by pmo...@gmail.com on 16 Dec 2010 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by pmo...@gmail.com on 16 Dec 2010 at 1:05

GoogleCodeExporter commented 9 years ago
I haven't tested this yet partly because I am reluctant to apply a patch that 
isn't part of the release, since I'd have to deal with this issue for each new 
release. (Also we probably won't offer this as a service if we have to get 
noderefs to do it.) By the way, did you see my similar question (in your blog) 
about whether it was possible to enter comments using your tool (which would 
almost certainly involve noderefs if it was doable at all).

Thanks, Peter.

Original comment by sstone%s...@gtempaccount.com on 16 Dec 2010 at 1:16

GoogleCodeExporter commented 9 years ago
You don't need to apply Stefan's patch to confirm that adding a single tag 
works.

Support for multi-valued properties (whether tags or otherwise) is being 
tracked as issue #20, and when I get to that issue the first thing I'll do is 
review Stefan's patch.

Original comment by pmo...@gmail.com on 16 Dec 2010 at 1:42

GoogleCodeExporter commented 9 years ago
Right, it just limits the utility for tags if there can only be one. I'll test 
it for you as soon as I can.

Original comment by sstone%s...@gtempaccount.com on 16 Dec 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Correct. What we're trying to do here is confirm that you can assign a tag, 
independent of the multi-valued property issue (which is more general in 
nature).

Original comment by pmo...@gmail.com on 16 Dec 2010 at 2:02

GoogleCodeExporter commented 9 years ago
Yes. It seems to want a line like this:
cm\:taggable=workspace://SpacesStore/3da6c395-3a4b-4a57-836d-8e5b4fdfc332

Original comment by sstone%s...@gtempaccount.com on 16 Dec 2010 at 10:41

GoogleCodeExporter commented 9 years ago
Great!  I'll close this issue then, since associating a single tag does work.  
Obviously it's not very useful until issue #20 is fixed, so I've increased the 
priority of that one to "High".

Original comment by pmo...@gmail.com on 16 Dec 2010 at 11:50

GoogleCodeExporter commented 9 years ago
I ran into the exact error with 1.0 release. I had created a new issue 
http://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=88 
before I found this one. Since Issue 20 is fixed, has this issue been 
revisited? Has anyone gotten it work with 1.0?

Original comment by zhihai....@gmail.com on 28 Sep 2011 at 5:00

GoogleCodeExporter commented 9 years ago
Issue 88 has been merged into this issue.

Original comment by pmo...@gmail.com on 29 Sep 2011 at 6:51

GoogleCodeExporter commented 9 years ago
Please refer to the comments in issue 88 for more details on how to correct the 
failing metadata files.

Original comment by pmo...@gmail.com on 1 Oct 2011 at 3:55

GoogleCodeExporter commented 9 years ago
Hi all,
I am interested in this area of tagging with the bulk upload process and wanted 
to understand the current state of play. Is there any example documentation on 
defining the tagging "shadow" file?

Original comment by john.sto...@ibo.org on 3 Oct 2011 at 8:32

GoogleCodeExporter commented 9 years ago
John, the mailing list [1] is a better place to ask these kinds of questions.

[1] http://groups.google.com/group/alfresco-bulk-filesystem-import

Original comment by pmo...@gmail.com on 3 Oct 2011 at 2:10