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

[studio] Dashboard "My Recent Activity" shows content-type "unknown" when you hover on a folder #1646

Closed
alhambrav opened this Issue Nov 28, 2017 · 3 comments

Comments

@alhambrav
Member

alhambrav commented Nov 28, 2017

Expected behavior

Dashboard widget "My Recent Activity" should not show content-type "unknown" when you hover on a folder. Maybe it should say "folder"? (I'm not sure what are the content types available...)

Actual behavior

Dashboard widget "My Recent Activity" shows content-type "unknown" when you hover on a folder

Steps to reproduce the problem

  • Create a site using website_editorial
  • Create a new article under one of the folders under articles
  • Click on the dashboard and look in the My Recent Activity widget, hover your mouse over the folder created when you created the new article page. Notice that it displays Content Type as unknown

Also, notice the URL listed for the article page. In the dashboard, it displays the URL as /articles/2016/7/new, but if you look in the audit log, the url is listed as /site/website/articles/2016/7/new.xml ?

screen shot 2017-11-28 at 3 32 58 pm

Here's the audit log entry for the new article created:

+----+---------------------+---------------------+------------------------------------------------------------------------------------------+----------------+---------------------------------------------+---------------+-------------------+--------------+--------------+--------+
| id | modified_date       | creation_date       | summary                                                                                  | summary_format | content_id                                  | site_network  | activity_type     | content_type | post_user_id | source |
+----+---------------------+---------------------+------------------------------------------------------------------------------------------+----------------+---------------------------------------------+---------------+-------------------+--------------+--------------+--------+
|  1 | 2017-11-28 15:31:12 | 2017-11-28 15:31:12 | {"user":"admin","id":"127.0.0.1","contentType":"user"}                                   | json           | 127.0.0.1                                   | studio_root   | LOGIN             | user         | admin        | UI     |
|  2 | 2017-11-28 15:31:38 | 2017-11-28 15:31:38 | {"user":"admin","id":"admin > Admin","contentType":"user"}                               | json           | admin > Admin                               | myawesomesite | ADD_USER_TO_GROUP | user         | admin        | UI     |
|  3 | 2017-11-28 15:32:23 | 2017-11-28 15:32:23 | {"user":"admin","id":"/site/website/articles/2016/7/new","contentType":"folder"}         | json           | /site/website/articles/2016/7/new           | myawesomesite | CREATED           | folder       | admin        | UI     |
|  4 | 2017-11-28 15:32:24 | 2017-11-28 15:32:24 | {"user":"admin","id":"/site/website/articles/2016/7/new/index.xml","contentType":"page"} | json           | /site/website/articles/2016/7/new/index.xml | myawesomesite | CREATED           | page         | admin        | UI     |
+----+---------------------+---------------------+------------------------------------------------------------------------------------------+----------------+---------------------------------------------+---------------+-------------------+--------------+--------------+--------+

Log/stack trace (use https://gist.github.com)

Specs: version, OS, browser, etc.

OS X, Chrome browser
Studio Version Number: 3.0.2-SNAPSHOT-cb71a7
Build Number: cb71a720818783bbf5adb9ec9211ae238780f037
Build Date/Time: 11-28-2017 15:25:43 -0500

@sumerjabri sumerjabri assigned jvega190 and unassigned jvega190 Nov 29, 2017

@sumerjabri sumerjabri added this to Backlog in Crafter CMS v3.0.x via automation Nov 29, 2017

@sumerjabri sumerjabri added this to the Crafter CMS v3.0.3 milestone Nov 29, 2017

@vestrada vestrada assigned vestrada and unassigned jvega190 Dec 6, 2017

@vestrada

This comment has been minimized.

Show comment
Hide comment
@vestrada

vestrada Dec 7, 2017

Member

Ui is just showing the information from "/studio/api/1/services/api/1/activity/get-user-activities.json" api. It is related with Back end.

Member

vestrada commented Dec 7, 2017

Ui is just showing the information from "/studio/api/1/services/api/1/activity/get-user-activities.json" api. It is related with Back end.

@vestrada vestrada assigned dejan-brkic and unassigned vestrada Dec 7, 2017

@sumerjabri sumerjabri changed the title from [studio-ui] Dashboard "My Recent Activity" shows content-type "unknown" when you hover on a folder to [studio] Dashboard "My Recent Activity" shows content-type "unknown" when you hover on a folder Dec 7, 2017

@dejan-brkic dejan-brkic moved this from Backlog to In Progress in Crafter CMS v3.0.x Dec 12, 2017

@dejan-brkic

This comment has been minimized.

Show comment
Hide comment
@dejan-brkic
Member

dejan-brkic commented Dec 12, 2017

@dejan-brkic dejan-brkic assigned alhambrav and unassigned dejan-brkic Dec 12, 2017

@dejan-brkic dejan-brkic moved this from In Progress to Test & Validate in Crafter CMS v3.0.x Dec 12, 2017

@alhambrav

This comment has been minimized.

Show comment
Hide comment
@alhambrav

alhambrav Dec 13, 2017

Member

Verified fixed.

Member

alhambrav commented Dec 13, 2017

Verified fixed.

@alhambrav alhambrav closed this Dec 13, 2017

Crafter CMS v3.0.x automation moved this from Test & Validate to Completed Dec 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment