yasuflatland-lf / liferay-dummy-factory Goto Github PK
View Code? Open in Web Editor NEW๐ญ Liferay DXP / 7 Dummy data generation portlet
License: MIT License
๐ญ Liferay DXP / 7 Dummy data generation portlet
License: MIT License
Allow specifying a custom text for Web Content for testing Japanese content
Hi Yasu,
When I'm adding the latest version (7.4.4
) of the module to a page on master (liferay-portal@eb99c8776afffd89a16b77f023ba1641e1d852cc
~U112), latest HEAD today) it is generating the following error:
2024-02-13 10:37:13.492 ERROR [http-nio-8080-exec-7][PortletRequestDispatcherImpl:295] Unable to dispatch request: /view.jsp(123,16) PWC6142: No tag "upload-progress" defined in tag library imported with prefix "liferay-ui"
2024-02-13 10:37:13.493 ERROR [http-nio-8080-exec-7][PortletServlet:109] Unable to process portlet com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet: org.apache.jasper.JasperException: /view.jsp(123,16) PWC6142: No tag "upload-progress" defined in tag library imported with prefix "liferay-ui"
javax.portlet.PortletException: org.apache.jasper.JasperException: /view.jsp(123,16) PWC6142: No tag "upload-progress" defined in tag library imported with prefix "liferay-ui"
at com.liferay.portlet.internal.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:298) ~[portal-impl.jar:?]
at com.liferay.portlet.internal.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:114) ~[portal-impl.jar:?]
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:611) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:627) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doView(MVCPortlet.java:172) ~[portal-kernel.jar:?]
at com.liferay.support.tools.portlet.LiferayDummyFactoryPortlet.doView(LiferayDummyFactoryPortlet.java:70)
Thanks for looking into this. ๐
Regards,
Tibor
I've started to add 100.000 users, progress bar starts with number 1 (1%). After adding 3000 Users it's still 1 instead of 3.
When I run gradle clean assemble
at the root folder of the repo, the built build/libs/liferay-dummy-factory.jar
doesn't contain all the bundle's properties (i.e. Bundle-Name, Bundle-SymbolicName, Import-Package etc).
I'm using the gradle committed in this repo and I've tried with more than one branch: master, 7.1.x, tag/0.16.
In Category / Vocabulary page, changing the site to Global triggers an error on the browser console.
Step to reproduce
Category / Vocabulary
Select a site to assign the pages to
to Global
combo?browserId=chrome&minifierType=js&languageId=en_US&b=7310&t=1605507047644&/o/frontend-js-aui-web/aui/aui/aui.js&/o/frontend-js-aui-web/liferay/modules.js&/o/frontend-js-aui-web/liferay/aui_sandbox.js&/o/frontend-js-aui-web/aui/attribute-base/attribute-base.js&/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex.js&/o/frontend-js-aui-web/aui/attribute-core/attribute-core.js&/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable.js&/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras.js&/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base.js&/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex.js&/o/frontend-js-aui-web/aui/oop/oop.js&/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang.js&/o/frontend-js-aui-web/liferay/dependency.js&/o/frontend-js-aui-web/liferay/util.js&/o/frontend-js-web/loader/config.js&/o/frontend-js-web/loader/loader.js&/o/frontend-js-web/liferay/dom_task_runner.js&/o/frontend-js-web/liferay/events.js&/o/frontend-js-web/liferay/lazy_load.js&/o/frontend-js-web/liferay/liferay.js&/o/frontend-js-web/liferay/global.bundle.js&/o/frontend-js-web/liferay/portlet.js&/o/frontend-js-web/liferay/workflow.js:22545 POST http://localhost:8080/api/jsonws/invoke 404
Enable selection of the delivery options for alerts and announcements
Error on deploy in latest master:
08:56:33,740 ERROR [Framework Event Dispatcher: Equinox Container: d0a2cd32-9897-0017-1c0c-e215f8aa209e][liferay_dummy_factory:97] FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: liferay.dummy.factory [648]_ Unresolved requirement: Import-Package: com.liferay.journal.model; version="[1.0.0,2.0.0)"_ [Sanitized]
at org.eclipse.osgi.container.Module.start(Module.java:429)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Some user related objects are only created after the first successful login.
Add an option to automatically perform a login process for each user created.
In Liferay DXP de-32:
After execution, it shows a successful message and the logs shows:
Starting to create 10 categories
Finished creating 10 categories
But in the categories screen, no categories are shown
If you try it again, it gives the error "There is another category named mycategory1 as a child of category 0"
Already tried to reindex all indexes, but still doesn't show the categories in the category screen
Same as web contents, creating documents at multiple sites at once
For example based on http://lipsum.com the content could be different to simulate more realistic scenarios. Image and document links and embedded images from external url or from documents and media should be also handled.
I was using dummy factory to test Apio by creating a ton of structured journal content. Journal content that was created are not set to "Never Expire" . In Apio, when I'm retrieving a collection of structured content, it will only return "Active" content in the response.
It would be nice to be able to configure this on dummy factory ๐ธ
At creating a company, the exception below is thrown.
2020-11-16 05:59:46.821 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_javax.portlet.action=%2Fldf%2Fcompany&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_mode=COMPANY&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_support_tools_portlet_LiferayDummyFactoryPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview generates exception: null
java.lang.NullPointerException
at com.liferay.layout.seo.internal.util.FriendlyURLMapperProvider.getFriendlyURLMapper(FriendlyURLMapperProvider.java:54)
at com.liferay.layout.seo.internal.canonical.url.LayoutSEOCanonicalURLProviderImpl._getDefaultCanonicalURL(LayoutSEOCanonicalURLProviderImpl.java:136)
at com.liferay.layout.seo.internal.canonical.url.LayoutSEOCanonicalURLProviderImpl.getCanonicalURL(LayoutSEOCanonicalURLProviderImpl.java:67)
at com.liferay.layout.seo.internal.LayoutSEOLinkManagerImpl.getCanonicalLayoutSEOLink(LayoutSEOLinkManagerImpl.java:63)
at org.apache.jsp.html.common.themes.top_005fhead_jsp._jspService(top_005fhead_jsp.java:1277)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:407)
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:383)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:217)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:88)
at freemarker.ext.jsp.TagTransformModel$TagWriter.endEvaluation(TagTransformModel.java:402)
at freemarker.ext.jsp.TagTransformModel$TagWriter.afterBody(TagTransformModel.java:390)
at freemarker.core.Environment.visitAndTransform(Environment.java:497)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:103)
at freemarker.core.Environment.visit(Environment.java:331)
At creating organization, organization site creation option will be helpful.
No Journal content folder exists with ID error when adding journal content. A work around exists by simply editing the ID in the DOM before submitting with a folder ID that exists.
Since https://liferay.atlassian.net/browse/LPS-192837 the parameter list is changed therefore journal generation fails with NoSuchMethodError
Add support to Message Boards:
The current mailaddress domain is fixed liferay.com.
Like Gmail [email protected],[email protected] .... [email protected] are same user.
When testing mail sending, it is useful if tool can create option rule to generate a mail address.
Thank you very much!
Not only number name, but also random name user creation will be useful for presales to create dummy users in the portal.
Since the dummy factory generate data across the sites, it'd be reasonable to place in the control panel as a panel app portlet. Thank you @stephenkostas for this input!
No exception handler at a user name and a site name collide. The portlet redirected to the error page currently. The exception should be handled correctly so the portlet fails gracefully.
Similar to DM/Web Content creation, but with creating blogs.
Existing Structures and Templates should be possible to use by Web Contents generated by the tool. Some issues come on surface related to content editing when specific structures are used.
Arbitrarily files upload for Document media
Log the time it takes to complete the creation task. Useful for measuring performance.
If not possible, log timestamp at the start and end of the process.
Actual behavior: Get an error 'Dummy Factory is temporarily unavailable.' and error throws on the console:
2024-01-05 05:13:26.671 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:212] Processing liferay.dummy.factory-7.4.3.jar
2024-01-05 05:15:05.840 ERROR [http-nio-8080-exec-5][PortletRequestDispatcherImpl:295] Unable to dispatch request: /view.jsp(123,16) PWC6142: No tag "upload-progress" defined in tag library imported with prefix "liferay-ui"
2024-01-05 05:15:05.842 ERROR [http-nio-8080-exec-5][PortletServlet:109] Unable to process portlet com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet: org.apache.jasper.JasperException: /view.jsp(123,16) PWC6142: No tag "upload-progress" defined in tag library imported with prefix "liferay-ui"
javax.portlet.PortletException: org.apache.jasper.JasperException: /view.jsp(123,16) PWC6142: No tag "upload-progress" defined in tag library imported with prefix "liferay-ui"```
Hello, I'm seeing this error when deploying the jar file in the bundle on the latest liferay master. Does it only work with published versions?
2020-07-10 00:07:35.591 ERROR [fileinstall-/Documents/master/bundles/osgi/modules][LogService:93] Error while starting bundle: file:/Documents/master/bundles/osgi/modules/liferay.dummy.factory-7.3.0.jar
org.osgi.framework.BundleException: Could not resolve module: liferay.dummy.factory [1083]
Unresolved requirement: Import-Package: com.liferay.dynamic.data.mapping.model; version="[3.1.0,4.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1297)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1270)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:524)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:369)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:320)
Thanks!
Allow creating users with real Japanese names together with an option to select wether to use English or Japanese.
Tag creation for Web contents, Message board and Document & Media will be useful.
steps to reproduce
Select create contents type
Amount of links in the generated contents
Fetch links
combo?browserId=chrome&minifierType=js&languageId=en_US&b=7310&t=1605502757996&/o/frontend-js-jquery-web/jquery/jquery.min.js&/o/frontend-js-jquery-web/jquery/init.js&/o/frontend-js-jquery-web/jquery/ajax.js&/o/frontend-js-jquery-web/jquery/bootstrap.bundle.min.js&/o/frontend-js-jquery-web/jquery/collapsible_search.js&/o/frontend-js-jquery-web/jquery/fm.js&/o/frontend-js-jquery-web/jquery/form.js&/o/frontend-js-jquery-web/jquery/popper.min.js&/o/frontend-js-jquery-web/jquery/side_navigation.js:2 POST http://localhost:8080/group/control_panel/manage?p_p_id=com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet&p_p_lifecycle=2&p_p_state=maximized&p_p_mode=view&p_p_resource_id=%2Fldf%2Fimage%2Flist&p_p_cacheability=cacheLevelPage&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_support_tools_portlet_LiferayDummyFactoryPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_mode=WCM&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_mvcRenderCommandName=%2Fldf%2Fcommon&_com_liferay_support_tools_portlet_LiferayDummyFactoryPortlet_formDate=1605510025030 500
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.