The method newInstance(String, String, List<PasswordData.Reference>) is undefined for the type PasswordData

Description

org.adempiere.base will not compile because of an error

Error Line 220: PasswordData passwordData = PasswordData.newInstance(newPassword, username, historyData);

Error message: The method newInstance(String, String, List<PasswordData.Reference>) is undefined for the type PasswordData

Environment

CentOS 7, Eclipse Oxygen, MercurialEclipse 2.3.0.201704011407, Buckminster Core 1.7.0.v20160301-1230

Activity

Show:
Gerald O'Sullivan
July 19, 2017, 5:43 AM

hg summary
parent: 11739:0fecab689c69 tip
IDEMPIERE-3426:improve tab behavior
branch: development

Gerald O'Sullivan
July 20, 2017, 4:57 AM

Workaround suggested here: https://groups.google.com/forum/#!searchin/idempiere/PasswordData|sort:relevance/idempiere/Zzhf_K2YtDA/xvEC5sROCQAJ

Edit MPasswordRule.java in org.idempiere.base and replace the line:

with this:

Gerald O'Sullivan
July 20, 2017, 7:49 AM

Problem was caused by an update to move static methods used for testing from PasswordData to TestUtils.

See this commit: https://github.com/vt-middleware/passay/commit/ffb8d9495f2d6e3beac64e120e61d16059975d9f

I hope this will assist a speedy resolution.

Fixed

Assignee

Carlos Ruiz

Reporter

Gerald O'Sullivan

Labels

None

Tested By

None

Components

Affects versions

Priority

Blocker