<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Issue in Password Policies - After DB Migration</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119357031" />
  <subtitle>Issue in Password Policies - After DB Migration</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119357031</id>
  <updated>2026-04-06T23:38:51Z</updated>
  <dc:date>2026-04-06T23:38:51Z</dc:date>
  <entry>
    <title>RE: Issue in Password Policies - After DB Migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121386424" />
    <author>
      <name>Marco Danieli</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121386424</id>
    <updated>2022-03-29T16:53:13Z</updated>
    <published>2022-03-29T08:41:02Z</published>
    <summary type="html">&lt;p&gt;I know this question is quite old, but I didn't find any solution of
  the problem in liferay forum yet.&lt;/p&gt;
&lt;p&gt;I had same problem after DB migration, so I tried to find a
  workaround to this problem.&lt;/p&gt;
&lt;p&gt;Making some tests on our test environment I saw that I was able to
  create new Password Policy, without seeing these in password policies
  page. These policies were saved in DB in the password policy table
  (passwordpolicy) and liferay saved also resource permission in the
  appropriate table in DB (resourcepermission). Watching resource
  permission table I saw that new password policies had different types
  of data in primkey and primkeyid respect of Default Password Policy.
  So I replaced default password policy values of columns primkey and
  primkeyid in resourcepermission table with passwordpolicyid of default
  password policy in passwordpolicy table.&lt;/p&gt;
&lt;p&gt;After this replacement, I don't see anymore the problem and I see the
  password policies in page (maybe you have also to delete DB cache from
  configuration panel to see changes)&lt;/p&gt;
&lt;p&gt;It can be a valid solution or it's too dirty?&lt;/p&gt;
&lt;p&gt;Are there more clean solutions?&lt;/p&gt;</summary>
    <dc:creator>Marco Danieli</dc:creator>
    <dc:date>2022-03-29T08:41:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Issue in Password Policies - After DB Migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120585363" />
    <author>
      <name>Boris Doris</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120585363</id>
    <updated>2021-02-04T08:32:11Z</updated>
    <published>2021-02-04T07:19:24Z</published>
    <summary type="html">&lt;p&gt;Hi Prabakar.&lt;/p&gt;
&lt;p&gt;Did you resolve this problem? How you did it?&lt;/p&gt;
&lt;p&gt;I have same problem&lt;/p&gt;</summary>
    <dc:creator>Boris Doris</dc:creator>
    <dc:date>2021-02-04T07:19:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Issue in Password Policies - After DB Migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119365290" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119365290</id>
    <updated>2020-06-10T21:46:17Z</updated>
    <published>2020-06-10T21:46:17Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hey Prabakar,&lt;br&gt;This issue seems related to the permissions associated to the model&amp;nbsp;com.liferay.portal.kernel.model.PasswordPolice. Please take a look at the log when access to the page, maybe you can try a workaround removing the problemaitc entries or creating the proper permissions.&lt;br&gt;I hope it helps.&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2020-06-10T21:46:17Z</dc:date>
  </entry>
  <entry>
    <title>Issue in Password Policies - After DB Migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119357030" />
    <author>
      <name>Prabakar Duraisamy</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119357030</id>
    <updated>2020-06-10T10:21:21Z</updated>
    <published>2020-06-10T10:21:21Z</published>
    <summary type="html">Hello,&lt;br /&gt;We are working on Liferay Migration from version 6.1 to 7.1.3.&lt;br /&gt;Our server environment is Wildfly11.&lt;br /&gt;After database migration, when we click Password Reset Policy, We are getting &amp;#34;Password Policies is temporarily unavailable.&amp;#34; Refer Attachment&lt;br /&gt;when i searched, i get the following link.&lt;br /&gt;&lt;a href="https://issues.liferay.com/browse/LPS-99845"&gt;https://issues.liferay.com/browse/LPS-99845&lt;/a&gt;&lt;br /&gt;Is it an existing defect which is in unresolved status? Can you please clarify?&lt;br /&gt;Regards&lt;br /&gt;Prabakar</summary>
    <dc:creator>Prabakar Duraisamy</dc:creator>
    <dc:date>2020-06-10T10:21:21Z</dc:date>
  </entry>
</feed>
