Question

Cache issue on a property

HI

Can anyone help me from the below issue.

I have modified Max Length from 256 to 512 on a property. Tested the behavior in Dev environment and promoted to Test Environment.

In Test environment, I am entering a string which has length more than 256 and less than 512. Here I am getting an error says the length is more than 256.

We cleared the cache and also removed marker file from Server, but still I am facing the issue. And this issue was observed in a property-set method.

And also observed the previous version cache of that property is building again and again.

We are working in 7.1.7 version.

Thanks in Advance,

Purna.

***Edited by Moderator: Pallavi to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

February 11, 2019 - 8:33am

Hello,

How did you clear the cache? And how many nodes are in your Test environment?  

 

Kip | Community Moderator | PEG

February 11, 2019 - 8:42am
Response to KipJackson_GCS

Hi Kip,

We have only one node in Test Environment. We have truncated the data from all the cache related tables. And I explicitly removed cache from Rule Cache management through SMA. Also we removed Pega Marker file from server. Still facing the issue.

Thanks,

Purna.

February 11, 2019 - 9:52am

Hi Shankar,

I can see below restriction while changing the Max Length on a property in the pega documentation,

When updating or overriding a property that has a Max Length defined, you can enter a smaller Max Length value, but not a larger value.

Reference : https://community1.pega.com/sites/pdn.pega.com/files/help_v717/procomhelpmain.htm#rule-/rule-obj-/rule-obj-property/advanced.htm#

Regards,

Mahesh M

February 11, 2019 - 10:09am
Response to Mahesh Midthuru

Thanks Mahesh.

But the behavior should be same in the lower environment too right, its working in Dev environment. Initially we faced the same issue in lower environment too, after clearing the cache, the error has gone. But its not happening in Test environment.

 

Thanks,

Purna.

February 11, 2019 - 2:53pm
Response to SHANKARYPS

Not sure how its working in the lower environment so far, but as per the documentation you are not supposed to increase the Max Length of the property.