cancel
Showing results for 
Search instead for 
Did you mean: 

Tags in 3.2r

benswitzer
Champ in-the-making
Champ in-the-making
Good day all.

Have a bit of a quandary.  Have two issues since upgrading to 3.2r.

1) We now can not add tags to documents in Share.  Any thoughts?  Nothing is coming up in the log.  I could enable some more verbose logging, just not sure which objects I should change in the log4j file.

2) This issue isn't specific to 3.2r, how do I change the total number of files displayed in the document library in Share.  The max is currently 1000.  I need it to be much bigger.  I realize this will have an impact on performance.  I've been able to figure out how to change the page size, but not the maximum about of objects shown.

Thanks!

Ben
11 REPLIES 11

mikeh
Star Contributor
Star Contributor
When you say you "cannot add tags" - what exactly is the problem?

As for the total number of documents, you need to update the ACL check limits in alfresco-global.properties
#
# Properties to limit resources spent on individual searches
#
# The maximum time spent pruning results
system.acl.maxPermissionCheckTimeMillis=10000
# The maximum number of results to perform permission checks against
system.acl.maxPermissionChecks=1000

Thanks,
Mike

benswitzer
Champ in-the-making
Champ in-the-making
Hey Mike.

Thanks for the response.

The problem is, when I type a tag into the input box and click the add button, nothing happens.  This is in the 'Details for..' pop-up from the documentlist list page.  I can't add a tag from the 'Full Metadata Edit page…', only select an existing tag.

As for the 2nd issue, its all good now.  Thanks for that info.

Best,
Ben

mikeh
Star Contributor
Star Contributor
Hmmm… When you click "Add", does the new tag appear above the input box? Hitting OK on the dialog should then commit the group of tags in this area.

Which web browser are you using?
Could you have an old cached JAvaScript file hanging around? Maybe try a forced-refresh, or clearing the browser cache?

Thanks,
Mike

benswitzer
Champ in-the-making
Champ in-the-making
Hmmm… When you click "Add", does the new tag appear above the input box? Hitting OK on the dialog should then commit the group of tags in this area.

Which web browser are you using?
Could you have an old cached JAvaScript file hanging around? Maybe try a forced-refresh, or clearing the browser cache?

Thanks,
Mike

No, the tag doesn't appear, as I've seen in 3.2.  Nothing happens at all actually.

Just tried clearing the cache.  No luck.  I've accessed the app with both Firefox 3 and IE 8.  Cleared the cache in both.

Thought perhaps the JS might have been cache by the web server (IIS), so I tried access Tomcat directly, no change.

I've checked both IE and Firefox's error consoles.  No errors in there, just some CSS warnings.

Scratching my head on this one.

benswitzer
Champ in-the-making
Champ in-the-making
Oh, hold the press!

Think I found a bug.

I can add a tag, but the length has to be greater than 11 characters.  Anything less, nothing happens.  As soon as the length is greater than 10, it adds it without issue.  The tags are being properly persisted too.

This is the case for both IE and Firefox.

mikeh
Star Contributor
Star Contributor
I have no idea why that might be - the only code that would prevent a new tag being added is:
// sanity checks
if (tagName === null || tagName.length < 1)
{
    return;
}

Mike

andysm
Champ in-the-making
Champ in-the-making
Hi,

We are having the same problem regarding the use of Tags. The main issure for us is that we can not use a purely numerical tag less than 11 digits long. I would like to use our 8 digit product codes to reference documents but the system will not allow me to "Add" the tag.

Was it classed as a bug, has it been resolved or is there a fix?

Many Thanks,

Andy Smith

mikeh
Star Contributor
Star Contributor
We are having the same problem regarding the use of Tags. The main issure for us is that we can not use a purely numerical tag less than 11 digits long. I would like to use our 8 digit product codes to reference documents but the system will not allow me to "Add" the tag.

Was it classed as a bug, has it been resolved or is there a fix?
Hi Andy

I think this was as a result of JavaScript trying to index an array rather than an object property, as the tag is treated as a number rather than a string. I've just tested v3.3dev and had no problems setting numerical tags. Note the Document Library on v3.3 uses the Forms Service, so it's a different mechanism anyway - but the blog, discussions, etc. still use the "old" way and they're all ok.

Thanks,
Mike

joemarbolo
Champ in-the-making
Champ in-the-making
any update on this issue? we are also experiencing the same issue here….