Giter Site home page Giter Site logo

Comments (8)

github-actions avatar github-actions commented on August 22, 2024

Welcome! 👋

Thank you for posting this issue. 🙇🏼‍♂️ We will come back to you latest within the next 48h (working days). Stay tuned!

from apex-recipes.

aaronmattern avatar aaronmattern commented on August 22, 2024

I removed the reference to these fields, as well as. Not sure why my org doesn't have them. Finally got the package installed via CLI.

Account.DunsNumber
Account.NaicsCode
Account.NaicsDesc
Account.OperatingHoursId
Account.TradeStyle
Account.YearStarted

from apex-recipes.

guivlm avatar guivlm commented on August 22, 2024

I removed the reference to these fields, as well as. Not sure why my org doesn't have them. Finally got the package installed via CLI.

Account.DunsNumber
Account.NaicsCode
Account.NaicsDesc
Account.OperatingHoursId
Account.TradeStyle
Account.YearStarted

How have you removed that @aaronmattern? Having the error message as you faced installing via package.

from apex-recipes.

aaronmattern avatar aaronmattern commented on August 22, 2024

@guivlm

Yes, this allowed me to at least deploy the package into my sandbox.

However,when I launch the app I'm getting another error:
Regex too complicated

from apex-recipes.

guivlm avatar guivlm commented on August 22, 2024

@guivlm

Yes, this allowed me to at least deploy the package into my sandbox.

However, when I launch the app I'm getting another error:
Regex too complicated

@aaronmattern Thank you for helping me with the deploy. It worked.
Now I'm facing the same issue as you.

This might be related to the class RecipeTreeViewController and the following governor limit:
https://help.salesforce.com/articleView?id=000325937&language=en_US&type=1&mode=1

image

from apex-recipes.

codefriar avatar codefriar commented on August 22, 2024

@aaronmattern @guivlm,

Are both of you installing this into an otherwise pre-populated sandbox?

A little bit of background:
Apex Recipes only really ships the actual .cls files. The UI components here interact with those classes generating the Docs, and groupings from the doc blocks in the code itself.

The RecipeTreeViewController is currently scoped to populate the tree view with all the apex classes available in the org that do not match our test class naming convention. If you have a bunch of other classes in the org, or you do not follow our test class naming convention, then this can happen.

In the near term, I suggest you use Apex Recipes in a net-new Dev org, or Scratch org.
In the longer term, I'm looking at namespacing the Apex Recipes classes so this doesn't happen.

from apex-recipes.

aaronmattern avatar aaronmattern commented on August 22, 2024

Yeah, I was trying to use it in a dev sandbox of my company. I'll try it in a scratch org, dev org, or playground in the future.

from apex-recipes.

codefriar avatar codefriar commented on August 22, 2024

@aaronmattern - I've a PR in to fix this, but I still recommend you using a dedicated scratch org for this.

from apex-recipes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.