ABP.IO Custom basic theme compile errors - abp

I am quite new to this ABP.IO framework. I am trying to create custom theme by following this guide. But I am getting the following errors,
Error MSB4019 The imported project "C:\Repository\tt\configureawait.props" was not found. Confirm that the expression in the Import declaration "......\configureawait.props" is correct, and that the file exists on disk. Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme C:\Repository\tt\EIOS-OS\src\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme.cspro
Error CS0103 The name 'LazyGetService' does not exist in the current
context Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme C:\Repository\tt\EIOS-OS\src\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme\Themes\Basic\LoginDisplay.razor.cs 33 Active
I commented out the references for .props files in the project file, but the second one is not going away. Please help me to understand these errors.
Regards,
Pradeep

I was getting the same error,I Decided to temporarily disable it by commenting out LazyGetService method until i get a proper solution but in the meantime the login Display component wont respond to state change.
For a proper fix I am thinking of creating my own custom Login Display toolbar in the main project.

Related

How to use image upload adapters as extra plugins with CKEditor 5 Classic Editor? Or, how to use CKEditor custom builder in React JS?

I was trying to integrate CKEditor5 in my MERN Stack Application. Its a kind of blog site which requires a fully functioned rich text editor. I integrated the editor and all other things are working fine except the file upload button.
I am using the predefined Classic Editor, which has all the basic functions. But when I click on the Image button to upload an image from local storage, it shows the error :
filerepository-no-upload-adapter
I tried to add Base64UploadAdapter plugin but then it shows the error :
Uncaught CKEditorError: ckeditor-duplicated-modules
Because of this error, I had to remove that plugin, but I still do not have the file upload function.
I also need some other buttons on my text editor, but I am always getting some kind of errors.
I also tried the CKEditor Custom build editor, but when I imported it to my page, it again gives me ckeditor-duplicated-modules error. I used the following code for importing:
import { CKEditor } from '#ckeditor/ckeditor5-react';
import Editor from 'ckeditor5-custom-build/build/ckeditor';
And yes, I also added the custom builder's folder to my package.json before importing this.
I want all the features that I added in my Custom builder, but that's not working in my case. Can anyone please help me with this? Or else, if that is not possible, please give me a solution for file upload which I need for sure, even if I don't get other buttons except the predefined Classic Editor buttons.
But, if there is any way to fix this ckeditor-duplicated-modules error and use the Custom build only, that would be the best solution for me..!
Thanks in advance.

Faker avatar is not working in my project

I'm using faker for random information but avtar is unable to open and showing error by clinking this link https://cdn.fakercloud.com/avatars/victor_haydin_128.jpg
and i had updated all to latest version.
Please help me to solve this issue
The fakercloud.com domain has expired, and the author appears to have wiped out the whole project for political reasons.
Based on the unreliability, I'm transitioning away from faker at this point, but if you want to continue using it, you could fork a previous version of the code and change the hard-coded link from fakercloud.com to something that works (either something you control or another similar service).

Hyperlink to a pdf file using typescript in React Application

This question seems asked many times here in this forum. But all of them clearly not helping my issue and that is why I thought to post it.
Problem statement:
While using href com in react application which navigates to a pdf file stored under public folder which is using typescript Giving a 404 not found error.
HyperLink
Folder structure
Can some one lead me here to identify the issue here? Or is there any other approach I can try out?
You should import that image like this
import documentPdf from './public/test.pdf';
Then you can use it as a href source:
HyperLink

qooxdoo qx.ui.mobile.list package not loading

I have just started evaluating qooxdoo + phonegap for a mobile application and have completed the getting started manual and created a test application which works as expected. The default app created has page1 with a button to navigate to page2 and back.
I have edited application.js to show a list by copying the list sample script into it but the list creation fails with error TypeError: Cannot read property 'List' of undefined
I have tried looking into the documentation to see if i have to make any changes to the app to load the list package but have not able to find anything. Can someone point me in the right direction?
Did you call
./generate.py source
after adding the qx.Mobile list to your application?
Calling ./generate.py source did not help ./generate.py source-all did the trick

Cakephp: cannot login if using a theme

I am not a newbie cakephp developer however I won't call myself as an intermediate level cakephp programmer.
I came across a strange behavor what I could not handle.
I've build up an app with default views. First customer needs themeing so I decided to use the cakephp theme feature and started to make a theme with views, layouts etc.
I am using cakephp 1.3.8.
Everything works fine except I can't log in. Cakephp redirects me to an impossible place, the search controller with search results. It simply could not happen.
With the default views everything works fine.
What could be the reason? Could it be a bug in Auth component? Where should I start to debug this and how?
Thanks.
edit:
I made a copy of my default views into a new theme, and changed the $theme variable to this new theme. Everything works, so Auth and Theme facilities are fine, the reason should be my first theme. How a theme, or view file affects on login processing and/or Auth redirections? I still do not know how to find the bug in my views :(. I've set debug to 2, also checked the logs in tmp/logs but there ares now infos. Any idea?
SOLVED
I found the problem, a $this->Form->end() was missing from the searchbox element so the login data was submitted to the products controller search method, therefore the login wasn't processed.
Was my fault.

Resources