adobe / aem-guides-wknd

Tutorial Code companion for Getting Started Developing with AEM Sites WKND Tutorial
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html
MIT License
287 stars 567 forks source link

Unable to edit page properties | component-basics/start #188

Closed HJordan35 closed 3 years ago

HJordan35 commented 3 years ago

I am working through the "Component Basics" portion of the AEM tutorial, and I have run into an issue when attempting to create my first "page". Here are the steps I have executed

After I execute those steps, I see the "Create Page" view, but there are no fields or properties available for edit (as shown in the tutorial) image

MacOS Catalina 10.15.6 VSCode 1.52.1 Java version 1.0 (1.8.0_271) AEM quickstart 6.5 Maven 3.6.3 (it's Java version is listed as 13.0.2)

Happy to provide any additional details if necessary

godanny86 commented 3 years ago

Can you try the command:

 mvn -PautoInstallSinglePackage -Padobe-public clean install
HJordan35 commented 3 years ago

Thanks for replying @godanny86 - I ran that command but I am still seeing the same issue from my side (successful build but a blank "properties" page)

godanny86 commented 3 years ago

ah ok @HJordan35. let me try and reproduce on my end. To confirm you don't have any Service Packs installed, it it AEM 6.5.0?

HJordan35 commented 3 years ago

Thanks - I am not 100% certain to be honest. A co-worker sent me a version of the quickstart JAR file that he has used on his projects. Is there any easy way for me to check that? Is it possible that I simply need to obtain a different version of that JAR?

godanny86 commented 3 years ago

ah, no problem. I think it should be in the help menu: image

Above is from Cloud Service SDK so it is just a date/timestamp

HJordan35 commented 3 years ago

Yes it is showing 6.5 image

godanny86 commented 3 years ago

Hey @HJordan35, I had trouble reproducing this on my end. Some additional questions:

Is this a clean AEM environment? or did you continue from the Project Setup chapter? Any JavaScript errors in the browser? What Browser? you might try a clean browser session (or incognito mode)

Can you also verify that all the bundles are started and active at: http://localhost:4502/system/console/bundles

image

HJordan35 commented 3 years ago

Is this a clean AEM environment? or did you continue from the Project Setup chapter? I did the previous chapter, but I then in the "Component Basics" chapter, I followed the guide and created a brand new directory with the cloned repo from GitHub. The only pieces from the previous chapter I am using are the setup (i.e. settings.xml, quickstart.jar, etc)

Any JavaScript errors in the browser? No - only a few deprecation warnings

What Browser? you might try a clean browser session (or incognito mode) Chrome Version 87.0.4280.88 - I also attempted clearing browser cache and incognito but saw no improvements

Can you also verify that all the bundles are started and active at: http://localhost:4502/system/console/bundles Confirmed that all of the bundles appear to be started and active image

godanny86 commented 3 years ago

hmm, everything looks right. The existing pages, like the WKND Site english home page, can you open and edit that?

You can also try deleting the following nodes using CRXDE-Lite: http://localhost:4502/crx/de/index.jsp#/conf/wknd

/conf/wknd /content/wknd

And then re-deploying the code using Maven.

This shouldn't be necessary but as a last resort you could create a clean AEM environment with the quickstart and then re-try deploying the component basics code...

HJordan35 commented 3 years ago

Seeing a similar issue when trying to edit the home page image

No luck with the delete and re-build approach

So for the nuclear option, are you saying to delete the current /author and /publish directories - re-create them, restart the server, and then clone, maven build, etc - or is there more cleaning I should do?

godanny86 commented 3 years ago

Yes to clean the environment, stop the AEM author instance, remove the crx-quickstart folder and then restart the AEM Author instance. if there are no git changes, you should just be able to rebuild and deploy it using Maven.

Before doing that, can you send a screenshot of /apps/wknd in CRXDE Lite? It should look like so:

image

HJordan35 commented 3 years ago

Ok cool - I will try the hard reset tomorrow. Regarding your other request, see below, I dont think I see any discrepancies

image

godanny86 commented 3 years ago

Hi @HJordan35 we recently released a new version of the tutorial. Feel free to re-open if you still have issues.