-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Orchard Core 1.8 (OSOE-751) #638
Comments
@domonkosgabor do you perhaps have something to add from the weekly news? |
The documentation of the upcoming release summarizes the breaking changes and other changes so well: https://docs.orchardcore.net/en/latest/docs/releases/1.8.0/ Maybe I can add two minor things:
|
Thanks! |
Note this discussion about |
Update: Onto the next problem And the preview button is broken. The built in types and types created from Admin are working properly. |
PersonPage only contains PersonPart, whose editor doesn't even use Javascript at all. Same with ExpressionContent, it only contains stock OC content fields. |
@sarahelsaig But their preview button uses Even more funny that I had to implement a Well I mean if it's a bug we would have had to make a temp solution for it anyways. |
The preview button and contentpreview.edit.js are part of the The module's resource configuration doesn't declare jQuery as a dependency of the A quick and dirty workaround is to override the ContentPreview.Button.cshtml with a copy and insert the |
You can temporarily add an override for ContentPreview.Button.cshtml that explicitly requires jQuery to a suitable module until that's fixed. |
I manually ordered the resources from the decorator so jquery always ends up first. It's more "pleasant" than an override. |
Why did have So the following error popped up after fixing the previous: I am asking this to collect data and not solution because I did not work with ChartJS before so I don't know if the required |
Why not search for that "thetheme-bootstrap-oc" string in the code base first? It's here: And here is the commit where it originated: Looks like the sample just wants an empty page to display the charts in. |
Reordering resource from the decorator is a bad idea, don't do that. The dependency order is complex, and can be determined by a number of factors, you can't just say that jQuery is always at the top. |
I did a search and nothing popped up. I use visual studio and used ctrl+shift+f and searched the file name. It found nothing.
I did that because from where it worked Jquery was always in the first places. Also I did remove the error and seemingly nothing else popped up. |
You're testing a tiny fraction of the dependency combinations that are possible in OSOCE, let alone for every solution using our projects. You can't make sure it'll work in every case. |
We have a test failing due to HtmlValidation as there is a |
Again, no, the dependency order is not so simple. Features can break if you bring jQuery to the top. Don't do that. Include it from a shape override. It'll work for sure and we only need it until the next OC upgrade (do document this there). |
I did try to use a shape override and also included a comment about that here above #638 (comment) It doesn't want to use the new From ShapeTracing it was saying that it is coming from HE but the Shape did not include the changes I made to the local shape to make sure it's ours. |
Well for some reason it works from |
When is this causing an issue, to begin with? If in UI testing then you can exclude the URL from monkey testing or ignore the error because this is an OC bug. |
It is causing errors in UITesting on Content Item Edit pages when the |
Putting it into our Vue module is random though. Exclude that error from that UI test's assertion then, we have a lot of examples of that. |
What's the analyzer violation? |
That members of the primary constructor should start with a lower-case letter. https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1313.md |
A suppression for this all the time is definitely not good, neither is disabling the parameter naming rule. Please bring this up in Teams for the whole team to be able to chime in, because we'll need a new convention, then; my vote would be on using |
...once OrchardCMS/OrchardCore#14940 is done.
.form-label
to the labels for proper rendering OrchardCMS/OrchardCore#14806 in our forms too?Jira issue
The text was updated successfully, but these errors were encountered: