Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E706 Exam - Topic 6 Question 61 Discussion

After installing a Magento extension that implements a new class for a site and deploying this to an integration environment you see it is not working.In the logs you discover the following error:How do you fix this?
A) A support ticket should be riled with Magento Commerce Cloud to fix the filesystem issue
B) The extension should be modified so it does not write to generated at runtime
C) The file should be generated locally and pushed via Git
D) The generated_code_WRITABLE variable should be set to true whenever using extensions

Adobe AD0-E706 Exam - Topic 6 Question 61 Discussion

Actual exam question for Adobe's AD0-E706 exam
Question #: 61
Topic #: 6
[All AD0-E706 Questions]

After installing a Magento extension that implements a new class for a site and deploying this to an integration environment you see it is not working.

In the logs you discover the following error:

How do you fix this?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Sonia
5 months ago
Setting generated_code_WRITABLE to true? That seems risky!
upvoted 0 times
...
Aileen
5 months ago
C sounds like a good workaround too.
upvoted 0 times
...
Ryan
5 months ago
Wait, is it really that simple to fix?
upvoted 0 times
...
Mozell
5 months ago
Definitely not A, that just delays the problem.
upvoted 0 times
...
Kaycee
6 months ago
I think option B is the best choice here.
upvoted 0 times
...
Leonida
7 months ago
I vaguely remember that generating files locally and pushing them via Git was a solution in a similar scenario. It could be worth considering.
upvoted 0 times
...
Jamal
7 months ago
I feel like the answer might be related to setting the generated_code_WRITABLE variable, but I can't recall the exact details.
upvoted 0 times
...
Nicholle
7 months ago
I think we practiced a question where we had to modify the extension to avoid writing at runtime. That might be relevant here.
upvoted 0 times
...
Polly
7 months ago
I remember something about generated files needing proper permissions, but I'm not sure which option addresses that directly.
upvoted 0 times
...
Rodrigo
8 months ago
The key here is to avoid writing to the generated directory at runtime. Option B looks like the best solution to me, as it would involve modifying the extension to work within the constraints of the Magento Commerce Cloud platform.
upvoted 0 times
...
Robt
8 months ago
Based on the error message, it seems like the extension is causing a filesystem issue. I would go with option A and file a support ticket with Magento Commerce Cloud to get this resolved.
upvoted 0 times
...
Tijuana
8 months ago
I'm a bit confused by this question. Can the extension be modified to avoid writing to the generated directory, or is there another way to fix the filesystem issue?
upvoted 0 times
...
Hannah
8 months ago
Okay, so the extension is trying to write to the generated directory, which is not allowed on the Magento Commerce Cloud platform. I think option B is the way to go here.
upvoted 0 times
...
Han
8 months ago
Hmm, this looks like a tricky one. I'll need to carefully review the error message and the options to determine the best approach.
upvoted 0 times
...
Myrtie
9 months ago
But modifying the extension to not write to generated at runtime seems like the best solution.
upvoted 0 times
...
Vince
9 months ago
I disagree, I believe the answer is C.
upvoted 0 times
...
Verda
9 months ago
Hmm, I think option B is the way to go. Extensions shouldn't be messing with the generated folder at runtime. That's just asking for trouble.
upvoted 0 times
Chara
6 months ago
Option A seems like a hassle. Waiting for support can take ages.
upvoted 0 times
...
Lovetta
6 months ago
I agree with you, option B makes sense.
upvoted 0 times
...
Thurman
6 months ago
True, but we need to ensure the extension is stable first.
upvoted 0 times
...
Stephaine
7 months ago
But what about option C? Pushing generated files via Git could work too.
upvoted 0 times
...
...
Myrtie
9 months ago
I think the correct answer is B.
upvoted 0 times
...

Save Cancel