Giter Site home page Giter Site logo

cdliuserprofile's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdliuserprofile's Issues

Navigating to the profile path with no user in context throws an exception.

I know this module is young and this may just sound like bitching, but I hope it's taken as just a means to an helping end.

This is by no means a high priority items but placing it here so it's documented.

When one navigates to user/profile and hasn't logged in, a Zend\Stdlib\Exception\BadMethodCallException is thrown.

File: vendor/zendframework/zendframework/library/Zend/Stdlib/Hydrator/ClassMethods.php:89
Message: Zend\Stdlib\Hydrator\ClassMethods::extract expects the provided $object to be a PHP object)
Stack trace:
#0 vendor/cdli/user-profile/src/CdliUserProfile/Integration/ZfcUser.php(71): Zend\Stdlib\Hydrator\ClassMethods->extract(NULL)
#1 [internal function]: CdliUserProfile\Integration\ZfcUser->addFormSection(Object(Zend\EventManager\Event))
#2 vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(464): call_user_func(Array, Object(Zend\EventManager\Event))
#3 vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(208): Zend\EventManager\EventManager->triggerListeners('getSections', Object(Zend\EventManager\Event), NULL)
#4 vendor/cdli/user-profile/src/CdliUserProfile/Service/Profile.php(32): Zend\EventManager\EventManager->trigger('getSections', Object(CdliUserProfile\Service\Profile))
#5 vendor/cdli/user-profile/src/CdliUserProfile/Controller/ProfileController.php(23): CdliUserProfile\Service\Profile->getSections()
#6 vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(90): CdliUserProfile\Controller\ProfileController->indexAction()
#7 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(464): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(208): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(107): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#11 vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(113): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#12 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#13 vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(464): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#14 vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(208): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(297): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#16 public/index.php(12): Zend\Mvc\Application->run()
#17 {main}

Additional Fields not showing

Hi, plugin works great, however I've used the methods stated in the zfcUser wiki to add additional fields to the validation and registration form. I've added these fields into the userProfile config file in the autoloader, but they're not pulling them? Any ideas?

missing function

function getFormOptions() is missing in Form/Section/ZfcUser.php

Issues in installation

Hi,

I wanted to use this module to extend ZfcUser module so that I can use it for creating and editing users profile. Please provide a quick guidelines on how to install it. I am stuck into this process. I have downloaded using git clone but not sure what to do next.

Thanks!

Installation Instructions

I know this isn't a big priority, but it might be helpful for those who don't want to go searching packagist.org if you add at least the composer instructions here on your README.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.