benedwards44 / packagebuilder

Django + Heroku application for building a package.xml of your Salesforce Org
https://packagebuilder.herokuapp.com
MIT License
103 stars 81 forks source link

Package Builder error related to missing version number #17

Closed admillican08 closed 5 years ago

admillican08 commented 5 years ago

I tried using Package Builder in my Enterprise Production org, currently on the Spring '19 release, API version 45, and received this error:

There was an error processing your request:

Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 218, in query_components_from_org appendVersionNumForMissingFlows(package,metadata_client) File "/app/buildpackage/tasks.py", line 237, in appendVersionNumForMissingFlows flowAndVersionNumObj = getActiveVersionNumForFlows(metadata_client,flowNamesList) File "/app/buildpackage/tasks.py", line 257, in getActiveVersionNumForFlows flowAndVersionNumObj[resultObj.fullName] = resultObj.activeVersionNumber AttributeError: FlowDefinition instance has no attribute 'activeVersionNumber'

sfdcale commented 5 years ago

I know why this is happening. I will submit a PR tonight.

cc: @benedwards44

sfdcale commented 5 years ago

18 will resolve this issue.

cc: @benedwards44

sfdcale commented 5 years ago

@admillican08 I tested with my developer edition org and this error is gone now.

admillican08 commented 5 years ago

@sfdcale : Yes, thank you, I was able to run this successfully in my production org this morning.