Skip to content
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

Document Store only displays latest subdirectory #624

Closed
listerr opened this issue Mar 5, 2020 · 1 comment
Closed

Document Store only displays latest subdirectory #624

listerr opened this issue Mar 5, 2020 · 1 comment

Comments

@listerr
Copy link
Contributor

listerr commented Mar 5, 2020

ISSUE TYPE

Bug Report

VERSION
define( 'APPLICATION_VERSION', '5.4.0' );
define( 'APPLICATION_VERDATE', '2020022900' );

ENVIRONMENT
root@beta:/srv/ixpmanager# php -v
PHP 7.3.14-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jan 23 2020 13:58:58) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.14-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

CONFIGURATION
APP_ENV=production
APP_DEBUG=false
APP_URL="https://portal....."
APP_TIMEZONE="Europe/London"
APP_LOG="single"
APP_LOG_LEVEL=debug
IXP_FE_FRONTEND_DISABLED_LOGO=false
IXP_FE_CUSTOMER_BILLING_UPDATES_NOTIFY="accounts@....net"
IXP_FE_FRONTEND_DISABLED_RS_PREFIXES=true
IXP_FE_FRONTEND_DISABLED_NETINFO=true
IXP_FE_FRONTEND_DISABLED_CUSTKIT=false
IXP_FE_FRONTEND_DISABLED_CONSOLE=true
IXP_FE_FRONTEND_DISABLED_LOGO=false
IXP_FE_FRONTEND_DISABLED_LOOKING_GLASS=false
IXP_FE_VLANINTERFACES_HOSTNAME_REQUIRED=false
IXP_API_JSONEXPORTSCHEMA_PUBLIC=true
IXP_MULTIIXP_ENABLED=false
IXP_RESELLER_ENABLED=true
IXP_RESELLER_RESOLD_BILLING=false
IXP_AS112_UI_ACTIVE=false
GRAPHER_BACKENDS="mrtg|sflow"
GRAPHER_BACKEND_MRTG_WORKDIR="/srv/mrtg"
GRAPHER_BACKEND_MRTG_LOGDIR="/srv/mrtg"
GRAPHER_BACKEND_SFLOW_ENABLED=true
GRAPHER_BACKEND_SFLOW_ROOT="http://..."
GRAPHER_BACKEND_SMOKEPING_ENABLED=false
GRAPHER_CACHE_ENABLED=false
VIEW_SKIN="lonap"
VIEW_SMARTY_SKIN="lonap"
AUTH_ZF1_PWHASH="bcrypt"
CACHE_DRIVER=memcached
SESSION_DRIVER=file
DOCTRINE_PROXY_AUTOGENERATE=false
DOCTRINE_CACHE=array
DOCTRINE_CACHE_NAMESPACE=IXPMANAGERNAMESPACE
IXP_API_RIR_EMAIL_TO=auto-dbm@....
IXP_API_RIR_EMAIL_FROM=ixp-auto@....
IXP_IRRDB_BGPQ3_PATH=/usr/local/bin/bgpq3
IXP_IRRDB_MIN_V4_SUBNET_SIZE=24
IXP_IRRDB_MIN_V6_SUBNET_SIZE=48
IXP_FE_FRONTEND_DISABLED_FILTERED_PREFIXES=false
IXP_RPKI_RTR1_HOST=5.57.....
IXP_RPKI_RTR1_PORT=3323
IXP_RPKI_RTR2_HOST=5.57.....
SUMMARY

Document store only displays latest sub-directory.

STEPS TO REPRODUCE

Create a directory in Document Store e.g.:

Annual General Meeting

Then, under this directory, create some more subdirectories, e.g, create them in this order:-

  • 2019
  • 2018
  • 2017
EXPECTED RESULTS

In the "Annual General Meeting" directory, it should list all subdirectories.

ACTUAL RESULTS

Only the most recent subdirectory is listed e.g.:

  • 2017

When deleting 2017, 2018 appears again.

This only seems to occur in subdirectories created under existing directories. The root directory
seems to work as expected.

I made a short screencast showing the problem here:-

https://www.youtube.com/watch?v=xJkh8qQe1Eo

@barryo barryo closed this as completed in 0c573d5 Mar 6, 2020
@barryo
Copy link
Member

barryo commented Mar 6, 2020

Thanks for the excellent bug report @listerr

Bear with me and I'll do a big fix release and push it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants