joeferraro / MavensMate-SublimeText

Sublime Text plugin for Salesforce developers. Aims to replace the Eclipse-based Force.com IDE.
http://mavensmate.com
GNU General Public License v3.0
290 stars 119 forks source link

Unrecognized package.xml metadata type: AssignmentRule #822

Closed yperez closed 7 years ago

yperez commented 8 years ago

In Version 7.0.0-beta.3

MAVENSMATE: Calling mavensmate adapter MAVENSMATE: OPERATION: clean-project MAVENSMATE: {'context': <MavensMate.mavensmate.CleanProjectCommand object at 0x109b0d690>}

reloading /Users/yperez/Documents/workspace/Hologic Dev2/src/package.xml

MAVENSMATE: Error initializing project: Unrecognized package.xml metadata type: AssignmentRule MAVENSMATE: Error initializing project: Unrecognized package.xml metadata type: AssignmentRule MAVENSMATE: Could not load json response from mavensmate MAVENSMATE: {'error': 'Request to the local MavensMate server failed. Error initializing project: Unrecognized package.xml metadata type: AssignmentRule'}

mginou commented 7 years ago

Any indication of why this issue was closed or the workaround/fix?

I am getting this, but AssignmentRule is definitely supported in all recent API versions. Furthermore, I actually don't have an AssignmentRule section (AssignmentRules is in the package); and the error still pops up when I remove it.

I also tried purging some the files in the .config control folder in case it was a caching issue, but that hasn't helped either.

bjanderson70 commented 6 years ago

I corrected the issue by: Using the more plural form( as MM did not recognize the singular form): instead of:

Case.my case rule AssignmentRule

changed ....

Case AssignmentRules