• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

ViewComponentReferencedInModel

New Here ,
Dec 11, 2009 Dec 11, 2009

Copy link to clipboard

Copied

Hi,

  I have the misfortune that my flex application base package is like "com.foo.frontendview". I didn't choose that package name and I cannot change it. Thus, every import I have in the model, for instance: "com.foo.frontendview.vo.PersonVO" shows a ViewComponentReferencedInModel violation.

  Can this rule be changed to a more accurate implementation? Instead of searching for the substring "view" in the whole import sentence (the full qualified class name), you could seach for the "view" substring only in the simple class name (removing the package).

Regards,

  Alex

TOPICS
FlexPMD

Views

586

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 13, 2009 Dec 13, 2009

It is fixed against trunk. You will find attached the latest ruleset.jar

Cheers,

Xavier

Votes

Translate

Translate
Adobe Employee ,
Dec 11, 2009 Dec 11, 2009

Copy link to clipboard

Copied

Can you post a enhancement request on JIRA, please?

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 12, 2009 Dec 12, 2009

Copy link to clipboard

Copied

+1

did you post a request, if so can you post link so i can vote

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 13, 2009 Dec 13, 2009

Copy link to clipboard

Copied

Here it is: https://bugs.adobe.com/jira/browse/FLEXPMD-122

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 13, 2009 Dec 13, 2009

Copy link to clipboard

Copied

It is fixed against trunk. You will find attached the latest ruleset.jar

Cheers,

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 14, 2009 Dec 14, 2009

Copy link to clipboard

Copied

LATEST

How fast! Thanks for the quick fix. I've tested it and it's  working fine

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines