Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Chris Shaw
    @cshawaus
    Green
    image.png
    Karol Lewandowski
    @karollewandowski_gitlab
    OK, but JCR folder marker is there, right?
    Chris Shaw
    @cshawaus
    Yep, the folder structure aligns with my other projects that are working
    Karol Lewandowski
    @karollewandowski_gitlab
    OK. It looks like class responsible for substituting language from HTML to HTL for some reason can't do it correctly. Condition that it evaluates is:
    project.aemSettings?.aemSupportEnabled == true && file.isHtlFile(project) && licenseIsValid(). I'm suspecting that settings is null or evaluates to false for some reason.
    Could you please try to checkout projects from scratch? In different folder, without any existing IDEA files (.idea folder, *.iml files).
    Chris Shaw
    @cshawaus
    Sure, won't be a min
    Karol Lewandowski
    @karollewandowski_gitlab
    I see, I'm waiting for the info then (fingers crossed). Maybe in 2021.1 they changed some project structure and it broke settings.
    Chris Shaw
    @cshawaus
    Looks to be the case, checking it out again fixed it. The strange thing is I deleted my iml files and .idea folder and it didn't fix it. Guess that folder is just borked
    Thanks for the help, really didn't think I'd get that working all weekend ;)
    Karol Lewandowski
    @karollewandowski_gitlab
    I see. Great it worked, but I'm worried about it. I always test the plugin when the new IDEA version is released and indeterministic errors like this are nightmare. I hope you just had bad luck :)
    Thank you for reporting it, I'll try to take a deeper look at it.
    Chris Shaw
    @cshawaus
    Hopefully it was just bad luck, I've been going crazy the past couple of days not having autocomplete. You don't realise how reliant you become on it when it stops working
    Karol Lewandowski
    @karollewandowski_gitlab
    Well, I'm not happy about this error, but very glad to hear the plugin is helpful :)
    Do you mind if I paste this quote in a marketing post on LinkedIn? Without your name of course :)
    Chris Shaw
    @cshawaus
    Of course
    Karol Lewandowski
    @karollewandowski_gitlab
    Thanks! :)
    Or wait :D You don't mind or do mind?
    Chris Shaw
    @cshawaus
    Don't mind at all
    I just replicated the issue, I switched between branches and all of a sudden my components switched from HTL to HTML
    Karol Lewandowski
    @karollewandowski_gitlab
    What happens when you switch back? HTL gets back to work or it's lost permanently?
    Karol Lewandowski
    @karollewandowski_gitlab

    I can also see some IDEA bugs in 2021.1 related to switching between branches. I recall that I even faced it with Maven dependencies not visible after switching branches. There is some update released recently, that fixes some related issues:
    https://youtrack.jetbrains.com/issue/IDEA-264752#focus=Comments-27-4864543.0-0

    Could you please update IDEA to the newest version (released on 28 of April) and check if it fixes the problem?

    Chris Shaw
    @cshawaus
    I'm already on 2021.1.1. Switching back didnt fix it. Pretty sure this is an IntelliJ bug as the other projects I was looking at were on the same branch before I updated whereas I switched on the two that stopped working
    Karol Lewandowski
    @karollewandowski_gitlab
    OK, I will try to find the cause then and will report if I find it. Switching between branches looks like good pointer to reproduce. Thanks.
    Chris Shaw
    @cshawaus
    Just tried it again and was able to reproduce it flawlessly. Might roll back to 2020.3.3 and see if it has the same issue
    Chris Shaw
    @cshawaus
    Can confirm that switching branches in 2020.3.4 works without issue. The issue is isolated to 2021.x
    Karol Lewandowski
    @karollewandowski_gitlab
    Thanks for checking.
    Chris Shaw
    @cshawaus
    Hello, me again :). Just opened the same project that broke in 2021.x and I'm not getting the same issue in 2020.3.4 even though it has been working flawlessly for the past few days
    Chris Shaw
    @cshawaus
    For now my workaround is to just manually associate the files with HTL
    Karol Lewandowski
    @karollewandowski_gitlab
    Hi guys, new version of the plugin has been released. It introduces support for FileVault .content.xml and filter.xml files.
    Now I can get back to the issue reported by you @cshawaus . Sorry for not answering, but day is too short for me these days.
    Karol Lewandowski
    @karollewandowski_gitlab
    @cshawaus , I tried to reproduce this issue by doing several things like switching branches and mixing it with changing Java versions, dependencies, configs, etc. I tried it with Java 11 as you mentioned before. I tried to sitch branches a lot of times. I can't reproduce it. I'm on 2021.1.1. Does this issue still occur to you? I can see that JetBrains released 2021.1.2 Preview. Maybe this version will start working fine for you if you still face it?
    I don't have any other ideas what I can check. Are there any more differences between working and affected project than Java version?
    Gunars Vilcins
    @gvilcins

    Hi, does the plugin support data-sly-set HTL? It doesn't seem to recognize like below:

    image.png

    Karol Lewandowski
    @karollewandowski_gitlab
    Hi @gvilcins, yes, plugin supports all HTL features, including data-sly-set. Please remember that the data-sly-set block statement is available from HTL 1.4, so make sure it is configured in the plugin options:
    aem-settings.png
    Once it is configured, it is available in the editor:
    data-sly-set-support.png
    Even if you will forget to change version, and some feature is unavailable in the HTL version that is currently set, you will get warning about it:
    data-sly-set-used-in-unsupported-version.png
    Karol Lewandowski
    @karollewandowski_gitlab
    On your screenshot I can see that your data-sly-set.selection is not highlighted as error what is strange. Could you provide me with your plugin version?
    Gunars Vilcins
    @gvilcins
    @karollewandowski_gitlab apologies for the newbie question. I just realized my trial expired. Will be dishing out the $$. Thanks for the prompt reply!
    Karol Lewandowski
    @karollewandowski_gitlab
    No problem, thanks :)
    Subrahmanyam
    @d-subrahmanyam
    tx a lot for the nice plug-in on AEM
    I’ve raised a request on your Github repo too
    eclipse AEM plugin style project creation wizard - aemide/issues#116
    this would help improve the usage of the plug-in
    I’ve seen your roadmap for 19-03-2022, BTW I brought the plug-in after just using it for a week.
    the pressing question I had was if you had a feature on your roadmap to sync the entities between the server and IDE and vice-versa
    tx a lot for the awesome plugin
    Karol Lewandowski
    @karollewandowski_gitlab
    Thank you Subrahmanyam 🙂
    1. Regarding the GitHub issue, I understand that you mean adding AEM Project Archetype to the list. IDEA already has Maven project wizard, so after we add it to the list, it will be as simple as selecting it, and providing required properties. Is it what you mean?
    2. Regarding sync of the content it's our next goal 🙂