Closed haripopuri closed 8 years ago
Hi @ralphcallaway ,
I see "CustomObjectSharingRules" option in project metadata, but no sub branches to select my object under that. Also when I select that main branch, I don't see any sharing rules pulled into my package.xml file (Please see attached image).
Thanks Hari
@haripopuri can you confirm that the org has custom object sharing rules? also, have you hit the refresh button on the top of the tab? if you just added that option we need to index what the options are before you can select them ...
finally, assuming those steps don't fix you're issue can you please enable plugin logging and post the logs for the refresh since that's where it would fail to show up? (see link in earlier comment for details on enabling plugin loggin)
@ralphcallaway Yes, we have custom object sharing rules and also I refreshed metadata by clicking refresh button on top. We were able to deploy them using ANT or Change Set.
I did update the settings to "DEBUG". What should I do to generate logs related to this issue?
@haripopuri you should see files in the folder path you set per the instructions for enable plugin logging, can you post the ones that look relevant to refresh (you can look at last modified dates after doing a refresh to find it)
@ralphcallaway I did refresh metadata. I don't see any errors in logs file (not allowing to attach log file here). Here is the success message from log file.
"body": "Org indexed successfully",
"body_type": "text",
"success": true,
"time": "194.5920000076294"
@ralphcallaway I think this will help:
http failed:
<?xml version="1.0" encoding="UTF-8"?>
result from command execution {'body': 'Org indexed successfully', 'body_type': 'text', 'success': True, 'time': '142.24300003051758'}
@haripopuri yep, the log you got that chunk from is what i was looking for, can you post the full log so i can see where in the code that's happening? seems like we've got an issue with the refresh reporting a success when it's actually failing
in terms of your primary issue, sounds like you need to adjust the api version in your settings, go to prefrences, package settings, mavensmate, user settings, and set mm_api_version
to a more recent version (i.e. "33.0"), that should let you refresh and get the data you need
@ralphcallaway
I updated version to "33.0" few days back (soon after I ran into this error and Google about it). Here is the big log message. The total log file size is around 9 MB and I can't copy and past the whole thing here.
<?xml version="1.0" encoding="UTF-8"?>
@haripopuri can you provide some more details about what you're doing and what's not working? Also please enable plugin logging http://mavensmate.com/Plugins/Sublime_Text/Plugin_Logging and post any relevants logs for the issue you're experiencing
closing this for now, please re-open if you can provide additional diagnostic info