You are viewing limited content. For full access, please sign in.

Question

Question

Constraints with range characters 9.2

asked on January 7, 2015

There is an organization that ran into an issue with constraints with version 9.2. I was able to recreate this on my end as well. The constraint is [A-Z0-9]{3}-[0-9]{9}. Though it has the character ranges it only accepts 'A', 'Z', '0', and '9'. The organization had to remove the constraints completely due to having issues with new documents being placed within the repository. I was wondering if anyone had ran into this issue as well and if so what would be an adequate constraint that would replace the character ranges. This constraint worked in previous versions as well as 9.1.

0 0

Answer

APPROVED ANSWER
replied on January 13, 2015

This issue is fixed in Laserfiche 9.2 SP1. For those already on 9.2, please get the service pack from KB 1013588.

0 0

Replies

replied on January 7, 2015 Show version history

There appears to be two issues here:

1. Number ranges like [0-9] seem to be broken

2. Multiple ranges like [A-Za-z] seem to be broken

While not an elegant workaround by any means, this works in 9.2

[ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]{3}-[0123456789]{9}

 

*Edit*

This will also work, but you won't see the - character in the field mask

[A-Z0-9]{3}\-[0-9]{9}

 

We'll update the thread when there's more information about a fix

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.